- settings optimization;

This commit is contained in:
nikitozzzzzzz
2017-12-11 09:53:38 +02:00
parent 9e4a0b5309
commit e36c3ca841
51 changed files with 540 additions and 631 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ if ( ! class_exists( 'um\Config' ) ) {
foreach ( $core_pages as $page_key ) {
$page_option_key = apply_filters( 'um_core_page_id_filter', 'core_' . $page_key );
$permalink[$page_key] = UM()->um_get_option( $page_option_key );
$permalink[$page_key] = UM()->options()->get( $page_option_key );
}
return $permalink;