Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ...<snip>...
<span class="milestone"><# wp.hooks.applyFilters('milestonerevs.metadata', data) #></span>
// ...<snip>...
add_action( 'admin_footer-revision.php', 'wpse151630_test' );
function wpse151630_test() {
(function($) {
wp.hooks.addFilter('milestonerevs.metadata', function( data ) {
}, 100);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.