Add print_media_templates action to allow custom templates to be added. props ocean90. fixes #22565, see #21390.
git-svn-id: http://core.svn.wordpress.org/trunk@22832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
52dcf95dcd
commit
b5b821c523
|
@ -1887,4 +1887,6 @@ function wp_print_media_templates( $attachment ) {
|
|||
</style>
|
||||
</script>
|
||||
<?php
|
||||
|
||||
do_action( 'print_media_templates' );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue