Skip to content

Snippet: Remove Preset Theme Color Choices

By default the Total theme will allow you to choose from various preset theme colors for elements like the Theme Button. However, yo can easily remove the preset color options using the following snippet.

 * Removes the preset theme color options.
 * @link
add_filter( 'wpex_get_accent_colors', '__return_empty_array' );
All PHP snippets should be added via child theme's functions.php file or via a plugin. We recommend Code Snippets (100% Free) or WPCode (sponsored)
Back To Top