I’m trying to hook into the “save_post” action from an AJAX callback in my plugin, […]
Tag: actions
Difference between after_setup_theme and init action hooks?
What is the difference between the after_setup_theme and init action hooks? It seems they are […]
Action hook on Edit custom post type?
Is there an explicit action hook that will fire when (or just before) the admin […]
What action is called when drafts are saved?
I would like to add a metadata field to the current post based on a […]
How to test wp_cron?
This is kind of a stupid question… I scheduled a action to run every hour: […]
Return $post_id when DOING_AUTOSAVE?
I see the following pattern over and over, on this site and on other places: […]
What action should I hook into when adding roles and capabilities?
I’m going to be using add_role() and $role->add_cap() to set up a new custom role […]
pre get posts changing the query
i need to change the posts in taxonomy.php page. I have a meta_key which i […]
Add “Page Revised” column to Admin
How would I go about adding a column to the Page Admin area that would […]
Create cron job without a plugin?
Basically I wrote a function that lets me change the post status to draft depending […]
No More Posts Available.
No more pages to load.