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:
parent
fd30c4460e
commit
c3d0d4a87d
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: update
|
||||
|
||||
Rename woocommerce_is_store_page to woocommerce_is_extension_store_page
|
|
@ -236,7 +236,7 @@ class WCAdminHelper {
|
|||
* @param bool $is_store_page Whether or not the URL is a store page.
|
||||
* @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 );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue