bbp_get_admin_link

  • apply_filters( 'bbp_get_admin_link', $before . '<a href="' . $uri . '">' . $text . '</a>' . $after, $args )

    Source Reference:

    • Component: bbPress :: bbp-user
      File: /bbp-includes/bbp-user-template.php :: Trac Source Line: 419
      		if ( $args && is_string( $args ) && false === strpos( $args, '=' ) )
      			$args = array( 'text' => $args );
      
      		$defaults = array( 'text' => __( 'Admin', 'bbpress' ), 'before' => '', 'after' => '' );
      		$args     = wp_parse_args( $args, $defaults );
      		extract( $args, EXTR_SKIP );
      
      		$uri = admin_url();
      
      		return apply_filters( 'bbp_get_admin_link', $before . '<a href="' . $uri . '">' . $text . '</a>' . $after, $args );
      	}
      
      /** User IP *******************************************************************/
      
      /**
       * Output the author IP address of a post
       *
       * @since bbPress (r3120)
       *
       * @param mixed $args Optional. If it is an integer, it is used as post id.
      

Comments are closed.