cptui_mark_not_new

Marks site as not new at the end of the about/main page.

Description

cptui_mark_not_new(); 

Can't be done on activation or else cptui_is_new_install() will immediately start returning false. So we'll do it at the end of the redirected landing page.


Usage

  1. if ( !function_exists( 'cptui_mark_not_new' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'custom-post-type-ui/inc/about.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cptui_mark_not_new(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/inc/about.php  
  1. function cptui_mark_not_new() { 
  2. if ( cptui_is_new_install() ) {