Call PHP function of a WordPress plugin

enter image description here

So I installed this plugin

In “how to install”, it says I have to call the add_db_table_editor function in my theme’s functions.php in order for the plugin interface to show

Installing screenshot

I added this code at the very bottom of functions.php file, and when I refresh my website, it won’t load.

This is my code (i’m very new to coding):

function add_db_table_editor(){

if(function_exists(‘add_db_table_editor')){ add_db_table_editor(‘title=Employees&table=employees');

add_db_table_editor(array( ‘title'=>'Test title', ‘table'=>'wp_posts', ‘sql'=>'SELECT));


Read more here: Call PHP function of a WordPress plugin

Leave a Reply

Your email address will not be published. Required fields are marked *