print_media_templates WordPress Action Hook

The print_media_templates hook allows you to add custom templates for printing media attachments. This hook is useful for creating custom print layouts for mediaattachments.

do_action( 'print_media_templates' ) #

Fires when the custom Backbone media templates are printed.


Source

File: wp-includes/media-template.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.