Changeset 10655 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-users.php
- Timestamp:
- 02/11/2021 02:05:04 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-users.php
r10321 r10655 8 8 // Add custom fields to user's profile. 9 9 add_action( 'bbp_user_edit_after_name', array( $this, 'add_custom_title_input' ) ); 10 add_action( 'bbp_user_edit_after', array( $this, 'add_options_section_header' ), 0 ); 10 11 add_action( 'bbp_user_edit_after', array( $this, 'add_auto_topic_subscription_checkbox' ) ); 11 12 … … 80 81 </div> 81 82 <?php 83 } 84 85 /** 86 * Add a section header to the extra user options. 87 */ 88 public function add_options_section_header() { 89 printf( 90 '<h2 id="user-settings" class="entry-title">%s</h2>', 91 esc_html__( 'User Options', 'wporg-forums' ) 92 ); 82 93 } 83 94
Note: See TracChangeset
for help on using the changeset viewer.