Back to OceanWP – Hooks
OceanWP – Hooks changelog
Release notes for every version we have on record, newest first.
Latest 2.2.0 · 14 Sep 2026
28 versions
Since Nov 2022
2026 5 versions
2.2.0 Latest 14 Sep 2026 1 improved
Improved
- Customizer: Custom Templates: Gutenberg template processing and rendering.
2.1.9 8 Sep 2026 1 fixed
Fixed
- PHP Editor: JS Error: Uncaught TypeError: Cannot read properties of null (reading 'appendChild'): Preventing the PHP Editor to be added/displayed in WP default editor (Gutenberg).
2.1.8 18 Aug 2026 1 new
New
- Compatibility: WordPress 7.1.
2.1.7 20 May 2026 1 improved
Improved
- Compatibility: WordPress version number.
2.1.6 31 Mar 2026 2 fixed
Fixed
- Templates: Hook condition on product category pages. Requires Ocean Extra 2.5.5 version.
- PHP Warning: Undefined array key "user_roles_select" in ...wp-content/plugins/ocean-hooks/ocean-hooks.php on line 2559
2025 2 versions
2.1.5 27 Nov 2025 1 new1 improved2 fixed1 removed
New
- Compatibility: WordPress: Upcoming 6.9 version.
Improved
- Security: Added additional protection layers before executing PHP type templates.
Fixed
- User Roles option doesn't disable properly once enabled.
- Checkboxes require double-click to be enabled.
Removed
- PHP function eval() removed from the plugin code.
2.1.4 19 May 2025 1 improved
Improved
- Compatibility: WordPress version number.
2024 3 versions
2.1.3 24 Dec 2024 4 new1 fixed
New
- Compatibility: WordPress: Bottom margin styles for wp.components.SelectControl is deprecated since 6.7 and will be removed in version 7.0.
- Compatibility: WordPress: Bottom margin styles for wp.components.BaseControl is deprecated since 6.7 and will be removed in version 7.0.
- Compatibility: WordPress: Bottom margin styles for wp.components.TextControl is deprecated since 6.7 and will be removed in version 7.0.
- Compatibility: WordPress: Bottom margin styles for wp.components.RangeControl is deprecated since 6.7 and will be removed in version 7.0.
Fixed
- PHP Codes: Code editor not displaying on fresh WP installation where the block editor (Gutenberg) utilizes iframes
2.1.2 16 Oct 2024 1 new1 improved1 fixed
New
- Option to add PHP codes using the Block Editor.
Improved
- WordPress version number for compatibility.
Fixed
- Custom templates not displayed if multiple templates using the same hook within the same display entity.
2.1.1 22 May 2024 6 new
New
- Add hooks to specific post categories.
- Add hooks to specific product categories.
- Hook: ocean_before_mobile_icon
- Hook: ocean_after_mobile_icon
- Hook: ocean_before_mobile_icon_inner
- Hook: ocean_after_mobile_icon_inner
2023 2 versions
2.1.0 6 Sep 2023 1 new1 improved
New
- Metabox Settings Interface: https://docs.oceanwp.org/category/826-oceanwp-settings
Improved
- Compatibility: WordPress version number.
2.0.3 23 May 2023 2 new1 fixed
New
- Compatibility: SiteOrigin: Custom templates support.
- Compatibility: PHP 8.2.6: Creation of dynamic property Ocean_Hooks::$plugin_path and Ocean_Hooks::$plugin_url is deprecated.
Fixed
- PHP fatal error - undefined 'ID' on Null.
2022 1 version
2.0.2 9 Nov 2022 1 new
New
- Option to add and run PHP codes.
Undated 15 versions
2.0.1 1 improved
Improved
- Theme Panel.
2.0.0 1 new1 fixed
New
- Enabled support for php code editor with Gutenberg support for my library template.
Fixed
- PHP editor is not loading after enabling it.
1.1.4 1 fixed
Fixed
- Fatal error on saving hooks settings in theme panel > my library.
1.1.3 1 new
New
- Version updated for WordPress 5.4.
1.1.2 2 improved1 fixed
Improved
- Tweak, Sanitize changed for the hook location so you will have no problem if you add custom hooks locations.
- Now you can add a priority 0.
Fixed
- PHP code was not showing if nothing was added to the default editor.
1.1.1 1 fixed
Fixed
- Conditional Logic and User Roles not saved when a hook is created with Elementor.
1.1.0 2 new1 improved
New
- PHP editor.
- Logged In/out conditionals added.
Improved
- Plugin rewrote, now to add a hook, you need to go on Theme Panel > My Library, create a new item, click the Hooks tab in OceanWP Settings and activate the item as a hook. This way, you can add more than one hook at the same place and most importantly, you can create your hook with your page builder.
1.0.7 1 new
New
- Polish translation, thanks to Fin Fafarafiel.
1.0.6 1 new
New
- Single product hooks.
1.0.5 2 new
New
- Before Page Entry hook.
- After Page Entry hook.
1.0.4 1 improved
Improved
- Show/Hide hooks in the admin bar removed in admin.
1.0.3 3 new1 removed
New
- Show Hooks button in the admin bar to allow you to display all the hooks in front end.
- New Conditional Logic for WooComerce: Product Category, Product Tag and Single Product.
- Spanish language, thank you to Angel Julian Mena.
Removed
- Admin notice if OceanWP is not the theme used.
1.0.2 1 fixed
Fixed
- Small issue with update.
1.0.1 19 new1 fixed
New
- Conditional Logic, now you can display your code on the page or taxonomy you want.
- User Roles, now you can display your code on the user roles you want.
- New hooks: Before/After Blog Entry Title.
- New hooks: Before/After Blog Entry Meta.
- New hooks: Before/After Blog Entry Content.
- New hooks: Before/After Blog Entry Read More.
- New hooks: Before/After Single Post Title.
- New hooks: Before/After Single Post Meta.
- New hooks: Before/After Single Post Content.
- New hooks: Before/After Single Post Author Bio.
- New hooks: Before/After Single Post Next/Prev Link.
- New hooks: Before/After Single Post Related Posts.
- New hooks: Before/After Archive Product Item.
- New hooks: Before/After Archive Product Image.
- New hooks: Before/After Archive Product Categories.
- New hooks: Before/After Archive Product Title.
- New hooks: Before/After Archive Product Price & Rating.
- New hooks: Before/After Archive Product Description.
- New hooks: Before/After Archive Product Add To Cart.
Fixed
- Issue with the cookie.js script.
1.0.0 1 changed
Changed
- Initial release.
