bbp_get_logout_link

  • apply_filters( 'bbp_get_logout_link', '<a href="' . wp_logout_url( $redirect_to ) . '" class="button logout-link">' . __( 'Log Out', 'bbpress' ) . '</a>', $redirect_to )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-common-template.php :: Trac Source Line: 1751
      	 * @since bbPress (r2827)
      	 *
      	 * @param string $redirect_to Redirect to url
      	 * @uses wp_logout_url() To get the logout url
      	 * @uses apply_filters() Calls 'bbp_get_logout_link' with the logout link and
      	 *                        redirect to url
      	 * @return string The logout link
      	 */
      	function bbp_get_logout_link( $redirect_to = '' ) {
      		return apply_filters( 'bbp_get_logout_link', '<a href="' . wp_logout_url( $redirect_to ) . '" class="button logout-link">' . __( 'Log Out', 'bbpress' ) . '</a>', $redirect_to );
      	}
      
      /** Title *********************************************************************/
      
      /**
       * Custom page title for bbPress pages
       *
       * @since bbPress (r2788)
       *
       * @param string $title Optional. The title (not used).
      

Comments are closed.