Skip to:
Content

  • Home
  • Activity
  • Members
  • reference
WB Remedy

Code Reference

  • Home
  • Activity
  • Members
  • reference
Filter by type:
Search
Browse: Home / reference / Functions / bp_settings_screen_delete_account()

bp_settings_screen_delete_account()

Show the delete-account settings template.

Contents

  • Source
  • Related
    • Uses
  • Changelog
  • User Contributed Notes

  • Source #Source

    File: bp-settings/screens/delete-account.php

    function bp_settings_screen_delete_account() {
    
    	if ( bp_action_variables() ) {
    		bp_do_404();
    		return;
    	}
    
    	/**
    	 * Filters the template file path to use for the delete-account settings screen.
    	 *
    	 * @since 1.6.0
    	 *
    	 * @param string $value Directory path to look in for the template file.
    	 */
    	bp_core_load_template( apply_filters( 'bp_settings_screen_delete_account', 'members/single/settings/delete-account' ) );
    }

    Expand full source code Collapse full source code View on Trac


    Related #Related

    Top ↑

    Uses #Uses

    Uses
    Uses Description
    bp-core/bp-core-catchuri.php: bp_core_load_template()

    Load a specific template file with fallback support.

    bp-core/bp-core-functions.php: bp_do_404()

    Trigger a 404.

    bp-core/bp-core-template.php: bp_action_variables()

    Return the value of $bp->action_variables.

    bp-settings/screens/delete-account.php: bp_settings_screen_delete_account

    Filters the template file path to use for the delete-account settings screen.


    Top ↑

    Changelog #Changelog

    Changelog
    Version Description
    1.5.0 Introduced.

    Top ↑

    User Contributed Notes #User Contributed Notes

    You must log in before being able to contribute a note or feedback.


    See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS

    Follow BuddyPress on Twitter • GPL • Contact Us • Privacy • Terms of Service

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.