bp_email_get_customizer_sections()
Get Customizer sections for emails.
Description
Return
(array)
Source
File: bp-core/bp-core-customizer-email.php
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 | function bp_email_get_customizer_sections() { /** * Filter Customizer sections for emails. * * @since BuddyPress 2.5.0 * * @param array $sections Email Customizer sections to add. */ return apply_filters( 'bp_email_get_customizer_sections' , array ( 'section_bp_mailtpl_header' => array ( 'capability' => 'bp_moderate' , 'panel' => 'bp_mailtpl' , 'title' => __( 'Header' , 'buddyboss' ), ), 'section_bp_mailtpl_body' => array ( 'capability' => 'bp_moderate' , 'panel' => 'bp_mailtpl' , 'title' => __( 'Body' , 'buddyboss' ), ), 'section_bp_mailtpl_footer' => array ( 'capability' => 'bp_moderate' , 'panel' => 'bp_mailtpl' , 'title' => __( 'Footer' , 'buddyboss' ), ), ) ); } |
Changelog
Version | Description |
---|---|
BuddyPress 2.5.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.