Rename woocommerce_is_store_page to woocommerce_is_extension_store_page (#50771)

* Rename woocommerce_is_store_page to woocommerce_is_extension_store_page

* Add changefile(s) from automation for the following project(s): woocommerce

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Moon 2024-08-19 18:11:48 -07:00 committed by GitHub
parent fd30c4460e
commit c3d0d4a87d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: update
Rename woocommerce_is_store_page to woocommerce_is_extension_store_page

View File

@ -236,7 +236,7 @@ class WCAdminHelper {
* @param bool $is_store_page Whether or not the URL is a store page. * @param bool $is_store_page Whether or not the URL is a store page.
* @param string $url URL to check. * @param string $url URL to check.
*/ */
$is_store_page = apply_filters( 'woocommerce_is_store_page', false, $url ); $is_store_page = apply_filters( 'woocommerce_is_extension_store_page', false, $url );
return filter_var( $is_store_page, FILTER_VALIDATE_BOOL ); return filter_var( $is_store_page, FILTER_VALIDATE_BOOL );
} }