bp_dtheme_page_on_front

  • apply_filters( 'bp_dtheme_page_on_front', get_option( 'page_on_front' ) )

    Source Reference:

    • Component: BuddyPress :: bp-themes
      File: /bp-themes/bp-default/functions.php :: Trac Source Line: 514
       * Return the ID of a page set as the home page.
       *
       * @return false|int ID of page set as the home page
       * @since 1.2
       */
      function bp_dtheme_page_on_front() {
      	if ( 'page' != get_option( 'show_on_front' ) )
      		return false;
      
      	return apply_filters( 'bp_dtheme_page_on_front', get_option( 'page_on_front' ) );
      }
      endif;
      
      if ( !function_exists( 'bp_dtheme_activity_secondary_avatars' ) ) :
      /**
       * Add secondary avatar image to this activity stream's record, if supported.
       *
       * @param string $action The text of this activity
       * @param BP_Activity_Activity $activity Activity object
       * @package BuddyPress Theme
      

Comments are closed.