Core Function
View Source on Trac ↗ wp_generate_block_templates_export_file()
wp_generate_block_templates_export_file( ) Creates an export of the current templates and
Return Value
((WP_Error)
| string) Path of the ZIP file or error on failure.
Function Information
Since Version
5.9.0
Source File
wp-includes/block-template-utils.php
Advertisement