diff --git a/.github/workflows/deploy-to-staging.yml b/.github/workflows/deploy-to-staging.yml index 489a20b..bfbf5e2 100644 --- a/.github/workflows/deploy-to-staging.yml +++ b/.github/workflows/deploy-to-staging.yml @@ -1,4 +1,4 @@ -name: Deploy plugin to Production +name: Deploy plugin to Staging on: push: diff --git a/plugin.php b/plugin.php index c488a89..363a796 100644 --- a/plugin.php +++ b/plugin.php @@ -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'; + } +);