WordPress.org

Ready to get started?Download WordPress

Forums

P2
wp_insert_post action not working ? (1 post)

  1. frank6
    Member
    Posted 2 years ago #

    Hi,

    I have created an action hook for when a post is inserted ("wp_insert_post"). It works great on the admin side but on the front-end nothing seems to be called. I did something like that ;

    function my_insert_post($post){
      // .....
    }
    add_action('wp_insert_post', 'my_insert_post');

    Some help would be really appreciate !

    Thanks!

    http://wordpress.org/extend/themes/p2/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags