post_type == 'page' || $screen->post_type == 'post') && $screen->base == 'post') return; // Take action over the banner if(isset($_POST['codepeople_promote_banner_nonce']) && wp_verify_nonce($_POST['codepeople_promote_banner_nonce'], __FILE__)) { if( !empty($_POST['codepeople_promote_banner_plugin']) && !empty($codepeople_promote_banner_plugins[$_POST['codepeople_promote_banner_plugin']]) ) { set_transient( 'codepeople_promote_banner_'.$_POST['codepeople_promote_banner_plugin'], -1, 0); if( !empty($_POST['codepeople_promote_banner_action']) && $_POST['codepeople_promote_banner_action'] == 'set-review' && !empty($codepeople_promote_banner_plugins[$_POST['codepeople_promote_banner_plugin']]['plugin_url']) ) { print ''; } } } $minimum_days = 86400*7; $now = time(); foreach($codepeople_promote_banner_plugins as $plugin_slug => $plugin_data ) { $value = get_transient( 'codepeople_promote_banner_'.$plugin_slug ); if( $value === false ) { $value = $now; set_transient( 'codepeople_promote_banner_'.$plugin_slug, $value, 0 ); } if($minimum_days <= abs($now-$value) && 0<$value) { ?>

Want to help to the development of the "" plugin? The main features of this plugin are provided free of charge. We need your help to continue developing it and adding new features. If you want to help with the development please add a review to support it. Thank you!