Filter on crp_default_options
-
Is it possible to add another option to the crp_default_options array through a filter?
I mean like that :
function set_crp_post_type($crp_settings) { $crp_settings['post_type'] = 'recipe'; return $crp_settings; } add_filter('crp_default_options', 'set_crp_post_type');
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Filter on crp_default_options’ is closed to new replies.