WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] any other script calls after get_footer? (1 post)

  1. vurentjie
    Member
    Posted 5 years ago #

    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();

Topic Closed

This topic has been closed to new replies.

About this Topic