__( 'Subscribers Per Page', 'popup-maker' ),
'default' => 20,
'option' => 'pum_subscribers_per_page',
) );
/*
* Instantiate the User List Table. Creating an instance here will allow the core WP_List_Table class to automatically
* load the table columns in the screen options panel
*/
self::list_table();
}
/**
* Force WP to save the option.
*
* @param $status
* @param $option
* @param $value
*
* @return mixed
*/
public static function set_option( $status, $option, $value ) {
if ( 'pum_subscribers_per_page' == $option ) {
return $value;
}
return $status;
}
}