Support » Theme: P2 » [Theme: P2] wp_insert_post action not working ?

  • 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/

  • The topic ‘[Theme: P2] wp_insert_post action not working ?’ is closed to new replies.