End of Year Sale: 30% off your first year on annual plans. Use code AP5-30-OFF See plans

Template include

1 min read
function reactor_process_query( $template ) {

    if ( isset( $_GET['iframe'] ) && $_GET['iframe'] === 'tweets'  ) {
        add_filter('show_admin_bar', '__return_false');
          $template  = trailingslashit( plugin_dir_path( __FILE__ ) ) . 'tweets.php';
      }

      return  $template ;

}
add_filter( 'template_include', 'reactor_process_query');
WordPress

iOS & Android app builder for WordPress

Ready to build your app?

Turn your WordPress site into iOS and Android apps with push notifications on every plan.

AppPresser End of Year Sale: 30% off AppPresser subscriptions, now through Dec 31. Two phones show sample news and events apps built with AppPresser.

End of Year Sale

30% off your first year

On Standard, Professional and Advanced annual plans. Enter the code at checkout. Ends December 31, 2026 at 11:59 PM ET.

Code AP5-30-OFF
See pricing