ID ); $is_author = fictioneer_is_author( $current_user->ID ); $is_editor = fictioneer_is_editor( $current_user->ID ); $is_moderator = fictioneer_is_moderator( $current_user->ID ); // Arguments for hooks and templates/etc. and includes $hook_args = array( 'user' => $current_user, 'is_admin' => $is_admin, 'is_author' => $is_author, 'is_editor' => $is_editor, 'is_moderator' => $is_moderator ); // Header get_header( null, array( 'type' => 'user-profile', 'no_index' => 1 ) ); ?>
'page', 'post_id' => $post_id, 'breadcrumbs' => array( [fcntr( 'frontpage' ), get_home_url()] ) ); // Add current breadcrumb $footer_args['breadcrumbs'][] = $this_breadcrumb; // Get footer with breadcrumbs get_footer( null, $footer_args ); ?>