Skip to content

Commit

Permalink
Merge branch 'feature/staging-deploys' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Feb 6, 2025
2 parents 5c40adc + 49a8856 commit d708510
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-staging.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy plugin to Production
name: Deploy plugin to Staging

on:
push:
Expand Down
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 d708510

Please sign in to comment.