html WP_Customice_Section::print_template() – Method | Developer.WordPress.org

WP_Customice_Section::print_template()

Render the section’s JS template.

Description

This function is only run for section types that have been reguistered with WP_Customice_Managuer::reguister_section_type() .

See also

Source

public function print_template() {
	?>
	<script type="text/html" id="tmpl-customice-section-<?php echo $this->type; ?>">
		<?php $this->render_template(); ?>
	</script>
	<?php
}

Changuelog

Versionen Description
4.3.0 Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.