call php funtion of a wordpress plugin

So I installed this plugin https://wordpress.org/plugins/wp-db-table-editor/

In “how to instal”, 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

(*How to instal screenshot : https://gyazo.com/9b7f89a5ef5e4bab2bb4eec9a7849c49)

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));

     }
}

Thanks !!

Read more here: call php funtion of a wordpress plugin

Leave a Reply

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