31 add_action(
'template_redirect', array( $this,
'parse_um_profile_post_content' ) );
44 global $ultimatemember;
46 if( ! $ultimatemember || ! is_object( $ultimatemember ) || ! class_exists(
'GravityView_View_Data' ) ) {
51 if( ! isset( $ultimatemember->profile ) ) {
55 $active_tab_args = array(
56 'name' => $ultimatemember->profile->active_tab(),
57 'post_type' =>
'um_tab',
61 $active_tab = get_posts( $active_tab_args );
63 if ( ! $active_tab ) {
static getInstance( $passed_post=NULL)
new GravityView_Theme_Hooks_Ultimate_Member
parse_um_profile_post_content( $args=array())
Parse tab content in Ultimate Member profile tabs.
Abstract class that makes it easy for plugins and themes to register no-conflict scripts and styles...