php page not found for plugin options menu

Looking at an old commit on a plugin I am writing, I am seeing a couple of things that jump out at me. First is your options page declaration. I had mine as follows, using your labels: function settings_menu_email() { add_menu_page( ‘Set Email’, ‘Set Email’, ‘manage_options’, ’email_admin_menu’, ’email_admin_menu_callback’, ); add_submenu_page( ’email_admin_menu’, __( ‘Options’, ‘textdomain’ ), … Read more

Store regex expression in WordPress DB using Options API

WordPress by default “escapes” all slashes and quotes in all input (historical reason, relic of the time PHP could have been configured to do it by default, or not). If you are handling forms by yourself instead of using the APIs you will need to strip the slashes, probably best to be done when saving … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)