Display popup or admin-notice after add new categories
Display popup or admin-notice after add new categories
Display popup or admin-notice after add new categories
Problems with WP_List_Table and hooks
I’m not sure what exactly you are trying to do, since the link you provided does not speak of removing any admin page (merely excluding some posts). Anyhow, if you want to block the managers access to some page, you can redirect them to somewhere else if they try to access that page. add_filter( ‘admin_init’, … Read more
How to add custom classes to admin list table default rows or columns?
Assuming you have access to the database, run the following query: SELECT option_value FROM wp_options WHERE option_name=”siteurl” OR option_name=”home”; Replace wp_ with the prefix that is defined for $table_prefix in your wp_config.php if it’s not the default wp_. This is just to ensure that your site is going to the expected location and not still … Read more
WordPress ACL (folder + permissions)
Please do not use this (opening post) script as the scheme might have changed, use this https://wpindexfixer.tools.managedwphosting.nl/wpindexfixer/ up to date script
First of all, you should never use current_user_can function with roles. You should use only capabilities as params, as Codex clearly states: While checking against particular roles in place of a capability is supported in part, this practice is discouraged as it may produce unreliable results. So, if we’ve dealt with that major issue… There … Read more
How to display a WordPress notice on create_term action
Can’t access dashboard as administrator, login as any other level works though