Skip to content

Commit

Permalink
Add action after body
Browse files Browse the repository at this point in the history
Adds action 'wpmm_after_body' after the opening body tag - useful for hooking support for all those tracking pixels and Google Tag Managers
  • Loading branch information
Karolína Vyskočilová committed Oct 12, 2016
1 parent 25bee3b commit aac0e42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions views/maintenance.php
Expand Up @@ -25,6 +25,10 @@
?>
</head>
<body class="<?php echo $body_classes ? $body_classes : ''; ?>">
<?php
// do some actions
do_action('wpmm_after_body');
?>
<div class="wrap">
<?php if (!empty($heading)) { ?><h1><?php echo stripslashes($heading); ?></h1><?php } ?>
<?php if (!empty($text)) { ?><h2><?php echo stripslashes($text); ?></h2><?php } ?>
Expand Down

0 comments on commit aac0e42

Please sign in to comment.