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');
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.



