mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- added free extension;
- 3rd party integration; - fixed CPT & Taxonomies titles;
This commit is contained in:
@@ -28,6 +28,7 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) {
|
||||
|
||||
|
||||
add_action( 'um_access_fix_external_post_content', array( &$this, 'bbpress_no_access_message_fix' ), 10 );
|
||||
add_action( 'um_access_fix_external_post_content', array( &$this, 'forumwp_fix' ), 11 );
|
||||
|
||||
add_filter( 'um_localize_permalink_filter', array( &$this, 'um_localize_permalink_filter' ), 10, 2 );
|
||||
add_filter( 'icl_ls_languages', array( &$this, 'um_core_page_wpml_permalink' ), 10, 1 );
|
||||
@@ -140,6 +141,16 @@ if ( ! class_exists( 'um\core\External_Integrations' ) ) {
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fixed ForumWP access to Forums message
|
||||
*/
|
||||
function forumwp_fix() {
|
||||
if ( function_exists( 'FMWP' ) ) {
|
||||
remove_filter( 'single_template', array( FMWP()->shortcodes(), 'cpt_template' ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $profile_url
|
||||
* @param $page_id
|
||||
|
||||
Reference in New Issue
Block a user