How can i progammatically see if the page that is currently open in the wordpress admin is ‘About-Me’;
I wish to run specific functions depending on the page the user is editing in the wordpress-admin.
How can i progammatically see if the page that is currently open in the wordpress admin is ‘About-Me’;
I wish to run specific functions depending on the page the user is editing in the wordpress-admin.
You must be logged in to post a comment.
You can use the
$post
global.Somewhere inside of a function, hooked in appropriately to the post-edit screen: