bp_email_get_customizer_settings ()
获取电子邮件的定制设置。
描述
返回
(数组)
源
文件:bp-core / bp-core-customizer-email.php
函数bp_email_get_customizer_settings() {$defaults = bp_email_get_appance_settings ();/** *过滤器定制设置的电子邮件。* * * * @since BuddyPress 2.5.0 @param阵列设置电子邮件编辑器设置添加美元。* /返回apply_filter (bp_email_get_customizer_settings,阵列(“bp_email_options(标志)”= >阵列(“能力”= >“bp_moderate”,“违约 ' => '', ' sanitize_callback ' = > ' wp_filter_post_kses”、“交通' = > '更新','类型' = > '选项'),bp_email_options [email_bg] ' = >阵列(“能力”= >“bp_moderate”,“违约”= > $违约(“email_bg”),“sanitize_callback”= >“sanitize_hex_color”,“运输”= >“postMessage”,“类型”= >“选项”),“bp_email_options [site_title_logo_size] = >阵列(“能力”= >“bp_moderate”,“违约”= > $违约(“site_title_logo_size”),'sanitize_callback' => 'absint', 'transport' => 'postMessage', 'type' => 'option',), 'bp_email_options[site_title_text_size]' => array('capability' => 'bp_moderate', 'default' => $defaults['site_title_text_size'], 'sanitize_callback' => 'absint', 'transport' => 'postMessage', 'type' => 'option',),'bp_email_options[site_title_text_color]' => array('capability' => 'bp_moderate', 'default' => $defaults['site_title_text_color'], 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', 'type' => 'option',), 'bp_email_options[recipient_text_size]' => array('capability' => 'bp_moderate',“默认”= > $违约(“recipient_text_size”),“sanitize_callback”= >“absint”,“运输”= >“postMessage”,“类型”= >“选项”)、“bp_email_options [recipient_text_color] = >阵列(“能力”= >“bp_moderate”,“违约”= > $违约(“recipient_text_color”),“sanitize_callback”= >“sanitize_hex_color”,“运输”= >“postMessage”,“类型”= >“选项”)、“bp_email_options [highlight_color] = >数组(“能力”= >“bp_moderate”,“违约”= > $违约(“highlight_color”),“sanitize_callback”= >“sanitize_hex_color”,“运输”= >“postMessage”,“类型”= >“选项”),“bp_email_options [body_bg] = >阵列(“能力”= >“bp_moderate”,“违约”= > $违约(“body_bg”),“sanitize_callback”= >“sanitize_hex_color”、“运输”= >“postMessage”,“类型”= >“选项”)、“bp_email_options [quote_bg]”= >数组(“能力”= >“bp_moderate”,“违约”= > $违约(“quote_bg”),“sanitize_callback”= >“sanitize_hex_color”,“运输”= >“postMessage”,“类型”= >“选项”),bp_email_options [body_border_color] ' = >阵列(“能力”= >“bp_moderate”,“违约”= > $违约(“body_border_color”),“sanitize_callback”= >“sanitize_hex_color”,“运输”= >“postMessage”,“类型”= >“选项”),“bp_email_options [body_text_size] = >阵列(“能力”= >“bp_moderate”,“违约”= > $违约(“body_text_size”), 'sanitize_callback' => 'absint', 'transport' => 'postMessage', 'type' => 'option', ), 'bp_email_options[body_text_color]' => array( 'capability' => 'bp_moderate', 'default' => $defaults['body_text_color'], 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', 'type' => 'option', ), 'bp_email_options[body_secondary_text_color]' => array( 'capability' => 'bp_moderate', 'default' => $defaults['body_secondary_text_color'], 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', 'type' => 'option', ), 'bp_email_options[footer_text]' => array( 'capability' => 'bp_moderate', 'default' => $defaults['footer_text'], 'sanitize_callback' => 'wp_filter_post_kses', 'transport' => 'postMessage', 'type' => 'option', ), 'bp_email_options[footer_text_size]' => array( 'capability' => 'bp_moderate', 'default' => $defaults['footer_text_size'], 'sanitize_callback' => 'absint', 'transport' => 'postMessage', 'type' => 'option', ), 'bp_email_options[footer_text_color]' => array( 'capability' => 'bp_moderate', 'default' => $defaults['footer_text_color'], 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', 'type' => 'option', ), ) ); }
更新日志
版本 | 描述 |
---|---|
BuddyPress 2.5.0 | 介绍了。 |