Description
The “xclusive_default_theme_options” filter allows to modify the default theme options. Version 1.1.0+.
A plugin (or theme) can add a filter with the code:
<?php add_filter( 'xclusive_default_theme_options', 'filter_function_name' ); ?>
The hook is located in the _inc/theme-options.php file.
Example
// apply filter function filter_xclusive_default_theme_options( $options ) { $options['rss'] = '#', return $options; } add_filter('xclusive_default_theme_options', 'filter_xclusive_default_theme_options' );
Note: $options is a array.
Leave a Reply