Just call remove_section
method of the $wp_customize
object:
add_action( 'customize_register', 'wpse8170_customize_register' );
function wpse8170_customize_register( WP_Customize_Manager $wp_customize ) {
$wp_customize->remove_section( 'section-id-to-remove' );
}
Related Posts:
- Default value for add_settings_field
- Change the login button on the login page
- Save & Publish disabled for two dimensional array Customizer
- Create a Page template selector page
- website is not loading home page (moving from one server to another server)
- Change the functionality of wordpress users module in admin
- Custom options – register, defaults and delete empty fields (Settings API)
- Is there a flowchart for WordPress loading sequence?
- How do register_sidebar() and get_sidebar() work together?
- Multiple WordPress sites with docker
- .maintenance and maintenance.php also in multisite install?
- how to redirect to a custom password retrieval page
- Is there a plugin to make attaching images easier?
- Custom category order with get_categories
- Pagination Help on Crazy Custom Authors Page
- Getting rid of the #038; when string replacing content
- Querying multiple WordPress custom fields with AND qualifier
- WordPress custom post types breaks permalink on theme reinstall
- page_template toggle between 2 templates + 2 permalinks for same post
- Show attribute description when filtering by that attribute
- Create a Custom menu item fetched by Product Categories and Sub Categories
- Multi-Site Plugin Activated (Not Network-Activated), What Happens?
- Add custom column to Users admin panel with Types user custom fields?
- How do I perform a “get” call to an external API, and then display the JSON results on a page in my WordPress site?
- How to build a child theme from a react-based parent theme?
- woocommerce Add custom field set like billing fields
- Convert an theme options page to use in customize.php also?
- Adding action to save_post, post needs to be saved twice for function to work
- 1 bit audio player
- Outputting posts from post id´s in variable
- Auto redirect after session expire, but only for one user
- Get Value from Column in Plugin Table [closed]
- The Best Way to always load the newest version of 3rd party code
- Extending WP_Widget throws error when Monster Widget used
- Theme licensing and permission on changing content [closed]
- Add ‘Creator’ User Meta when adding user
- Auto login after wordpress installation
- Using Fullscreenr with a wordpress blog – weird bug
- Determining What Content Gets Displayed
- Truncating varying lengths of information
- How to get pages id in array in get_pages?
- Access post meta in future_to_publish function
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- How to create a completely private wordpress with multiple membership levels
- Why do posts disappear from admin after upgrading from WP 2.7.1 to 3.0.1?
- woocommerce_checkout_fields modifying existing billing_phone label created new field
- Edit sticky header html – How to locate corresponding php file
- custom meta box for page default template
- OrderBy multiple custom meta fields
- Move Custom Fields on General Settings Page to New Location
- How to host 2 subdomains as lookalike destinations under one master domain?
- Track usernames with piwik [closed]
- “An automated WordPress update has failed to complete – please attempt the update again now”– But there is no .maintenance file
- Custom Login Process
- How could I verify whole WP directory before/after working with a freelancer? [closed]
- Modify files without losing customization after updates
- Determine if action was executed in functions
- Woocommerce – Print Product’s Custom Field In Email
- Extending core class in plugin
- Applying WP-cli Search & Replace to Static SQL Dump File
- Is it possible to make wordpress LMS
- Saving contact form 7 data into custom Table
- How Can I limit the visible part of the short-description on the Category page?
- Is it possible to rename a customizer control heading?
- How to add WordPress JS Script Links
- How do I fix my static page
- URL and Site title outputting on Login page
- List of contents of entire blog
- optimal taxonomy or custom post types
- Custom field not editable by the user
- Easily add custom HTML outside the main container?
- How do I make mysite.com/comingsoon WordPress to become my main website’s WordPress?
- adding fade on mouseover to images
- Customize section does not show my widget areas
- Invitation link to a site in multisite network does not work?
- Lightbox not showing image caption
- WordPress core jquery version file not loaded?
- Can we add an extra button on woocommerce shop page and use it to send the product info including image in a mail?
- WP_User_Query Search Multiple Keywords from a Multi-Select Field?
- clickable toggle menu, help
- twenty seventeen customizer duplicates section content
- How to append the excerpt to the content in the single post page?
- How to Password Protect whole site except for some subdirectories
- WordPress Install – “end of script output before headers” when running simple php script
- Ordering a specific post type
- How to replace part of shortlink with nothing
- Header image doesn’t show up on page
- How to get name and email value from a custom form and add it to campaign monitor subscriber list?
- “Static” pages within a theme
- Assign classes to Custom fields
- Custom WordPress SQL Query 4 posts per custom taxonomy
- Add variable : 1 Week ago
- When is it OK to create a custom table for a plugin? [duplicate]
- Prevent posts from being published if the ‘Uncategorized’-category or no category is selected
- how do i add logo in my site
- Show total sales for each products on search results page Woocommerce
- Changes to code not displaying
- Permalink Listing WordPress
- Has the table name in SQL for WordPress changed from WP_posts to WPCS_post?
- Multi color post title by using custom javascript inside the gutenberg editor?