wp_generate_block_templates_export_file


wp_generate_block_templates_export_file ( No parameters )

Returns:
  • (WP_Error|string) Path of the ZIP file or error on failure.
Defined at:

Description

Creates an export of the current templates and template parts from the site editor at the specified path in a ZIP file.

Related Functions

_get_block_templates_files, _get_block_template_file, wp_enable_block_templates, _get_block_templates_paths, _filter_block_template_part_area

Top Google Results

User discussions

wpseek mobile