Created
February 12, 2018 04:36
-
-
Save buiquangduc/3e937a8d673aac836f606bd1e1547ed5 to your computer and use it in GitHub Desktop.
acf/settings/save_json filter
This file contains 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 | |
add_filter('acf/settings/save_json', 'my_acf_json_save_point'); | |
function my_acf_json_save_point( $path ) { | |
// update path | |
$path = get_stylesheet_directory() . '/my-custom-folder'; | |
// return | |
return $path; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment