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 ) { ?>
0 ){ update_option('ays_arp_sale_notification', 0); } $ays_arp_ishmar = intval(get_option('ays_arp_sale_notification')); if($ays_arp_ishmar == 0 ){ ays_arp_sale_message($ays_arp_ishmar); } } } function ays_arp_sale_message($ishmar){ if($ishmar == 0 ){ ?>