We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Default Settings for Lists Reply To: Default Settings for Lists

#9164
Tom
Keymaster

Hi there,

Yes, all of the defaults are filterable. For options in WPSP Pro, you can find the list in inc/defaults.php

For example, to change the social options:

add_filter( 'wpsp_defaults', function( $defaults ) {
    $defaults['wpsp_twitter']	= false;
    $defaults['wpsp_twitter_color'] = '#737373';
    $defaults['wpsp_twitter_color_hover'] = '#0084b4';
    $defaults['wpsp_facebook'] = false;
    $defaults['wpsp_facebook_color'] = '#737373';
    $defaults['wpsp_facebook_color_hover'] = '#2d4372';
    $defaults['wpsp_pinterest'] = false;
    $defaults['wpsp_pinterest_color'] = '#737373';
    $defaults['wpsp_pinterest_color_hover'] = '#bd081c';
    $defaults['wpsp_love'] = false;
    $defaults['wpsp_love_color'] = '#737373';
    $defaults['wpsp_love_color_hover'] = '#ff6863';

    return $defaults;
}, 20 );