• Resolved vurentjie

    (@vurentjie)


    hi,

    i am writing a plugin for a job, i want to dynamically replace any wp posts from the plugin template, i decided to do it like this…

    add_action('loop_start','dynamic_insert_test');
    
    function dynamic_insert_test(){
    
    //any content here to replace the  post
    
    echo "</div>"; //for end widecolumn or narrowcolumn
    
    get_sidebar();
    get_footer(); 
    
    exit();
    
    }

    i should really follow the full wordpress pipeline to see for myself but was wondering if anyone knows if any script processes happen after get_footer();

  • The topic ‘any other script calls after get_footer?’ is closed to new replies.