diff --git a/.changeset/little-buses-slide.md b/.changeset/little-buses-slide.md new file mode 100644 index 00000000..0426ba88 --- /dev/null +++ b/.changeset/little-buses-slide.md @@ -0,0 +1,5 @@ +--- +"@wpengine/hwp-previews-wordpress-plugin": patch +--- + +Changed documentation links on wp-admin diff --git a/plugins/hwp-previews/ACTIONS_AND_FILTERS.md b/docs/plugins/hwp-previews/explanation/actions-and-filters/index.md similarity index 95% rename from plugins/hwp-previews/ACTIONS_AND_FILTERS.md rename to docs/plugins/hwp-previews/explanation/actions-and-filters/index.md index c7c5651f..f8e82bbe 100644 --- a/plugins/hwp-previews/ACTIONS_AND_FILTERS.md +++ b/docs/plugins/hwp-previews/explanation/actions-and-filters/index.md @@ -1,19 +1,10 @@ -# Actions & Filters - -## Table of Contents - -- [PHP Actions](#php-actions) -- [PHP Filters](#php-filters) -- [Examples](#examples) - - [Actions](#actions) - - [Filters](#filters) -- [Contributing](#contributing) - +--- +title: "Actions and Filters" +description: "Learn about the available PHP actions and filters in HWP Previews plugin for customizing plugin behavior, settings, and integrations." --- This document lists the available PHP actions and filters provided by the HWP Previews plugin, along with explanations and usage examples. These hooks allow you to customize plugin behavior, settings, and integration with other plugins or your theme. ---- ## PHP Actions @@ -25,7 +16,6 @@ This document lists the available PHP actions and filters provided by the HWP Pr | `hwp_previews_settings_init` | Fired after the settings page is initialized. | | `hwp_previews_settings_form_manager_init` | Fired after the settings form manager is initialized. | ---- ## PHP Filters @@ -39,7 +29,6 @@ This document lists the available PHP actions and filters provided by the HWP Pr | `hwp_previews_filter_available_post_types` | Filter the available post types for previews (affects settings UI and preview logic). | | `hwp_previews_filter_available_post_statuses` | Filter the available post statuses for previews. | ---- ## Examples diff --git a/plugins/hwp-previews/src/Templates/admin.php b/plugins/hwp-previews/src/Templates/admin.php index 5c07eb96..b912e020 100644 --- a/plugins/hwp-previews/src/Templates/admin.php +++ b/plugins/hwp-previews/src/Templates/admin.php @@ -72,12 +72,15 @@

HWP Toolkit on GitHub