acf/json/eof_newline

acf/json/eof_newline

Hook Type: filter

See hook in core

Displaying hooks found in version: advanced-custom-fields.6.2.4

apply_filters('acf/json/eof_newline') is found 1 times:

  • /includes/local-json.php line 452
    			}
    
    			// 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 ) );
    
    			// Return true if bytes were written.
    			return is_int( $result );
    		}
    
    		/**