Description
The “xclusive_social_links_options” filter allows to modify the default social links options, to allow user to enter other social links. Version 1.1.0+.
A plugin (or theme) can add a filter with the code:
<?php add_filter( 'xclusive_social_links_options', 'filter_function_name' ); ?>
The hook is located in the _inc/theme-options.php file.
Example
// apply filter function filter_xclusive_social_links_options( $options ) { $options['rd'] = array( 'name' =>__('Reddit'), 'href' => '' ), return $options; } add_filter('xclusive_social_links_options', 'filter_xclusive_social_links_options' );
Note: $options is a array.