Fixed Notice Error
This commit is contained in:
@@ -121,6 +121,10 @@ if ( ! trait_exists( 'CUSTOMPOSTS' ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if( ! isset($per_page_option['custompost_archive'] ) ){
|
||||
return;
|
||||
}
|
||||
|
||||
$per_page_option_data = $per_page_option['custompost_archive'][ $post_type ];
|
||||
if ( ! isset( $per_page_option_data ) ) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user