Skip to content

Instantly share code, notes, and snippets.

@buiquangduc
Created February 12, 2018 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buiquangduc/3e937a8d673aac836f606bd1e1547ed5 to your computer and use it in GitHub Desktop.
Save buiquangduc/3e937a8d673aac836f606bd1e1547ed5 to your computer and use it in GitHub Desktop.
acf/settings/save_json filter
<?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