Changeset 10471
- Timestamp:
- 01/27/2016 05:18:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r10425 r10471 2592 2592 return $bp->upload_dir; 2593 2593 } 2594 2595 /** 2596 * Return email appearance settings. 2597 * 2598 * @since 2.5.0 2599 * 2600 * @return array 2601 */ 2602 function bp_email_get_appearance_settings() { 2603 $default_args = array( 2604 'body_bg' => '#FFFFFF', 2605 'body_text_color' => '#555555', 2606 'body_text_size' => 15, 2607 'email_bg' => '#F7F3F0', 2608 'footer_bg' => '#F7F3F0', 2609 'footer_text_color' => '#525252', 2610 'footer_text_size' => 12, 2611 'header_bg' => '#F7F3F0', 2612 'highlight_color' => '#D84800', 2613 'header_text_color' => '#000000', 2614 'header_text_size' => 30, 2615 2616 'footer_text' => sprintf( 2617 /* translators: email disclaimer, e.g. "© 2016 Site Name". */ 2618 _x( '© %s %s', 'email', 'buddypress' ), 2619 date_i18n( 'Y' ), 2620 bp_get_option( 'blogname' ) 2621 ), 2622 ); 2623 2624 return bp_parse_args( 2625 get_option( 'bp_email_options', array() ), 2626 $default_args, 2627 'email_appearance_settings' 2628 ); 2629 }
Note: See TracChangeset
for help on using the changeset viewer.