[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-settings/screens/ -> delete-account.php (source)

   1  <?php
   2  /**
   3   * Settings: User's "Settings > Delete Account" screen handler.
   4   *
   5   * @package BuddyPress
   6   * @subpackage SettingsScreens
   7   * @since 3.0.0
   8   */
   9  
  10  /**
  11   * Show the delete-account settings template.
  12   *
  13   * @since 1.5.0
  14   */
  15  function bp_settings_screen_delete_account() {
  16  
  17      if ( bp_action_variables() ) {
  18          bp_do_404();
  19          return;
  20      }
  21  
  22      /**
  23       * Filters the template file path to use for the delete-account settings screen.
  24       *
  25       * @since 1.6.0
  26       *
  27       * @param string $value Directory path to look in for the template file.
  28       */
  29      bp_core_load_template( apply_filters( 'bp_settings_screen_delete_account', 'members/single/settings/delete-account' ) );
  30  }


Generated: Fri Nov 22 01:00:56 2024 Cross-referenced by PHPXref 0.7.1