I recently transferred a site that was created on PHP 5.6.2 to a new hosting with PHP 7.0.29. The site transferred fine and the front end looked like it...
I see that some plugins like Wordfence can write on core folders like wp-includes or wp-admin (if write permission is enable). In case everything is permitted, is there a...
Ever come across a plugin that is using the manage_options capability for a page that… really doesn’t need to be? Well, I’ve come across just that. This may be...
I’d like to programmatically (either with js or php, but I imagine it’d simpler with js) hide the dashboard admin menu using the same functionality that is already built...
I used the following code to replace “Howdy” in the admin bar. This is lovely. However, when I view the site while logged in, the word Howdy reappears. As...
I am creating a back-end dashboard where I need to show all the post assigned to current user by the wp admin. I assign user role to Author and...
I have two custom post types created (using Types plugin) with a bunch of custom fields. I need to add a help information, instructions for admins that will show...
I’m struggling to use the $callback_args parameter of wp_add_dashboard_widget successfully. The following code keeps displaying string(0)”” when dumping $args: add_action( 'wp_dashboard_setup', 'sample_widget_setup' ); function sample_widget_setup() { wp_add_dashboard_widget( 'sample_dashboard_widget', 'Sample...
I’m trying to remove some menu items in the Dashboard of Multisite users. For example my domain name is xyz.com, his site will be xyz.com/user. When he logs in...
I’m using wordpress multiste 3.3.1 I’m not gonna update it in the future. So I disabled all upgrade functions. I want to remove the wordpress admin bar from both...