Sure, every setting in the Customizer is saved either as a theme mod (by default) or option (if you set the ‘type’ to ‘option’ in $wp_customize->add_setting()
).
You can access the user-defined value using get_theme_mod()
(or get_option()
).
In your example, the value you are looking for can be retrieved with:
$downloads_tab_text = get_theme_mod( 'product-downloads-tab' );
Related Posts:
- PHP files included in functions.php don’t seem to work
- Custom Behavior when Adding New Custom Post Type in Dashboard
- Where do I go to edit this area? [closed]
- How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?
- How would I correctly implement a new if statement in a child functions file?
- How To Show Shortcodes In WordPress Custom Fields?
- Customizer cuistom CSS Priority ordre Issue
- Programatically add options to “add new” custom field dropdown
- When should you, and when should you not, use wp_list_pluck()?
- Display random categories on the front page (Finding and Editing Theme Functions)
- Get a list of all available fields in the User Profile
- How to remove Customize from admin menu bar after WP 4.3
- Woocommerce add to simple product attribute programmatically [closed]
- opening links in new tab using – add_filter( ‘the_content’, ‘make_clickable’);
- Enabling shortcodes for custom fields
- Add options to featured image
- Set default options for inserting media
- Remove tag on my RSS Feed
- Function to Download External Images to My Site
- How to add default images into theme customizer image control?
- Checked() showing up twice in custom fields
- Theme-Config tab in admin Pannel?
- How to Add a Random Custom Gravatar in the WordPress Comments?
- Delete pages and Create default pages for all new network sites
- How to load some jquery code to make validation in the theme customizer?
- Actions according to image type and size
- Post thumbnail relative link and HTML modify
- How to mass-delete inline styles in WordPress custom post type automatically?
- How would go about if I just want a temporary function?
- Remove the deleted users avatar from list
- How to call custom function from functions.php in site-wide template files?
- str_replace function in theme
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- Right way to update widget on dynamic new input field
- How to display custom option field in woocommerce orders in admin panel?
- Best practices regarding the creation of custom widgets?
- How to add a slide toggle to the Woocommerce-Layout__Activity-Panel area in the orders admin page
- What WordPress function to use to get meta value by using meta keys?
- Word Press – Dynamic Content [closed]
- Change label for registration Fields
- Add Custom Background Properties to Customizer
- Insert image in WordPress with HTML5 tag and caption function
- how can I just add to parent theme function(s) instead of redeclaring whole the function
- Default Custom Field Value Automatically Update
- Skeleton Child Theme Add Icon Bar to Header Flex Grid
- Redirect to another page using contact form 7? [closed]
- How to retrieve the values of a sub-field in the first and last row of an (ACF) repeater inside function?
- Prevent custom field from being updated after first publish
- Remove Custuomize Sections
- unnecessary request call for js and css after calling wp_dequeue_script
- laoding bloginfo url in function array?
- Custom HTML markup
- Use a shortcode to display custom meta box contents
- Create custom function for hero image
- Programmatically add Yoast meta description after post save
- The_content and Preg_replace in loaded Iframe [closed]
- theme customizer – can a single option pass multiple values?
- How to make custom comment fields required
- How to pass variables from one function to another or combine functions
- two search forms on the same page
- Problem in using Customizer
- New checkbox in custom widget isn’t saving data
- Linking Javascript in functions.php file
- Perform function on publish AND save (not just save)
- Function to check if custom page is used by page?
- Odd functions.php issue in WordPress
- Is it possible to add custom badges to product attributes conditionally, based on custom field?
- How to Display WooCommerce Product Price in WooCommerce Archive
- Custom Form / Search with Custom Post Type Data
- wp_set_object_term via js btn frontend
- Populate Product Regular Price with a calculated ACF Field Value
- Header menu aligned right on all pages except for single-post page [closed]
- Hide author info in single posts by certain users
- External api call and make global variable for any page visitor enters , page-home, page, single etc
- CSS style and app.js not loading
- Parent category as WOOCommerce Categories widget title
- Shortcode to insert default text and change one word throughout it?
- I want to customize the_posts_navigation function by replacing prev and next with images
- Reference multiple style sheets, clearing styles for permalink page, custom fields for css
- Creating a “Related Meta” type field?
- How to create a WordPress Customizer Button to Clear a Cache?
- True email confirmation for registration (keeping unvalidated users from user table)
- Adding A New Widget to WordPress Disables the Existing Widgets
- Post date on Custom field
- How do I integrate my Child Theme into a Custom Template?
- Shortcode to eliminate and replace with
- custom post with loading script per single post
- update_post_meta not working in function
- Syling Custom Fields echo’s from from functions.php
- Get Value of Custom Field
- restrict access to specific urls on a specific period of time
- child_of not working while searching
- How to request login for user but not for bots
- Removing Facebook contact field from user contact not working
- How do I add functionality to images?
- Adding and updating repeating custom field meta data
- WordPress Custom wp mail template return full template
- How to create a post without link in wordpress?
- Change Post status based on custom field date +1 day
- post_row_actions filter from parent theme not executing in child theme