acf/json/eof_newline
acf/json/eof_newline
Appears in: advanced-custom-fields.6.2.9
Hook Type: filter
Displaying hooks found in version: advanced-custom-fields.6.2.9apply_filters('acf/json/eof_newline') is found 1 times:
- /includes/local-json.php line 448
} // Prepare for export and save the file. $post = acf_prepare_internal_post_type_for_export( $post, $post_type ); $result = file_put_contents( $file, acf_json_encode( $post ) . apply_filters( 'acf/json/eof_newline', PHP_EOL ) ); //phpcs:ignore WordPress.WP.AlternativeFunctions.file_system_operations_file_put_contents -- potentially could run outside of admin. // Return true if bytes were written. return is_int( $result ); } /**