acf/json/save_file_name
acf/json/save_file_name
Appears in: advanced-custom-fields.6.2.1
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.1apply_filters('acf/json/save_file_name') is found 1 times:
- /includes/local-json.php line 400
* @param string $filename The default filename. * @param array $post The main post array for the item being saved. * @param string $load_path The path that the item was loaded from. */ $filename = apply_filters( 'acf/json/save_file_name', $key . '.json', $post, $load_path ); if ( ! is_string( $filename ) ) { return false; } $filename = sanitize_file_name( $filename );