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