mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
- settings optimization;
This commit is contained in:
@@ -49,7 +49,7 @@ if ( ! class_exists( 'Common' ) ) {
|
||||
'supports' => array('title')
|
||||
) );
|
||||
|
||||
if ( um_get_option( 'members_page' ) || ! get_option( 'um_options' ) ) {
|
||||
if ( UM()->options()->get( 'members_page' ) || ! get_option( 'um_options' ) ) {
|
||||
|
||||
register_post_type( 'um_directory', array(
|
||||
'labels' => array(
|
||||
|
||||
Reference in New Issue
Block a user