-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Description
I'm having some trouble working out why the default helper function isn't returning my option defaults. Example usage:
$options['home-posts-section-title'] = array(
'id' => 'home-posts-section-title',
'label' => __( 'Section Title', 'themename' ),
'section' => $section,
'type' => 'textarea',
'default' => __( 'Latest News', 'themename' ),
'transport' => 'postMessage'
);The setting is being called like this:
echo esc_attr( get_theme_mod( 'home-posts-section-title', customizer_library_get_default( 'home-posts-section-title' ) ) );The default displays in the customizer screen but not on the live site.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels