Skip to content

Commit

Permalink
Add hook to test staging deploys
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Feb 6, 2025
1 parent dc1ff1f commit 49a8856
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,19 @@

// Exit if accessed directly.
defined( 'ABSPATH' ) || exit;

/**
* Initialize plugin functionality on WordPress init.
* Adds custom content to the site header.
*
* @return void
*/

// Add action to wp_head to insert content in header.
add_action(
'wp_head',
function() {
// Output custom meta tags or other header content.
echo 'JUST A TEST';
}
);

0 comments on commit 49a8856

Please sign in to comment.