run(); } function advanced_related_posts_activation_redirect_method( $plugin ) { if( $plugin == plugin_basename( __FILE__ ) ) { exit( wp_redirect( admin_url( 'admin.php?page=' . ADVANCED_RELATED_POSTS_NAME ) ) ); } } function advanced_related_posts_general_admin_notice(){ global $wpdb; if ( isset($_GET['page']) && strpos($_GET['page'], ADVANCED_RELATED_POSTS_NAME) !== false ) { ?>
?