[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-templates/bp-legacy/buddypress/members/single/settings/ -> notifications.php (source)

   1  <?php
   2  /**
   3   * BuddyPress - Members Settings Notifications
   4   *
   5   * @package BuddyPress
   6   * @subpackage bp-legacy
   7   * @version 3.0.0
   8   */
   9  
  10  /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
  11  do_action( 'bp_before_member_settings_template' ); ?>
  12  
  13  <h2 class="bp-screen-reader-text"><?php
  14      /* translators: accessibility text */
  15      _e( 'Notification settings', 'buddypress' );
  16  ?></h2>
  17  
  18  <form action="<?php echo bp_displayed_user_domain() . bp_get_settings_slug() . '/notifications'; ?>" method="post" class="standard-form" id="settings-form">
  19      <p><?php _e( 'Send an email notice when:', 'buddypress' ); ?></p>
  20  
  21      <?php
  22  
  23      /**
  24       * Fires at the top of the member template notification settings form.
  25       *
  26       * @since 1.0.0
  27       */
  28      do_action( 'bp_notification_settings' ); ?>
  29  
  30      <?php
  31  
  32      /**
  33       * Fires before the display of the submit button for user notification saving.
  34       *
  35       * @since 1.5.0
  36       */
  37      do_action( 'bp_members_notification_settings_before_submit' ); ?>
  38  
  39      <div class="submit">
  40          <input type="submit" name="submit" value="<?php esc_attr_e( 'Save Changes', 'buddypress' ); ?>" id="submit" class="auto" />
  41      </div>
  42  
  43      <?php
  44  
  45      /**
  46       * Fires after the display of the submit button for user notification saving.
  47       *
  48       * @since 1.5.0
  49       */
  50      do_action( 'bp_members_notification_settings_after_submit' ); ?>
  51  
  52      <?php wp_nonce_field('bp_settings_notifications' ); ?>
  53  
  54  </form>
  55  
  56  <?php
  57  
  58  /** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
  59  do_action( 'bp_after_member_settings_template' );


Generated: Fri Jun 21 01:00:54 2024 Cross-referenced by PHPXref 0.7.1