Created
November 3, 2013 10:14
-
-
Save shazdeh/7288662 to your computer and use it in GitHub Desktop.
Filtering options in a Themify theme. The $options variable is an array of saved options.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$theme = wp_get_theme(); | |
function filter_theme_options( $options ) { | |
return $options; | |
} | |
add_filter( 'option_' . $theme->display('Name') . '_themify_data', 'filter_theme_options' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment