enter image description here

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

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


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: