Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

Commit 45f3e90

Browse files
committed
Added deprecation notice to WCS_Admin_Meta_Boxes::remove_order_email_actions function
1 parent 4752b3e commit 45f3e90

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

includes/admin/class-wcs-admin-meta-boxes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,8 +347,11 @@ public static function create_pending_parent_action_request( $subscription ) {
347347
*
348348
* @param array $available_emails
349349
* @since 1.0.0 - Migrated from WooCommerce Subscriptions v2.0
350+
*
351+
* @deprecated
350352
*/
351353
public static function remove_order_email_actions( $email_actions ) {
354+
wcs_deprecated_function( __METHOD__, '8.3.0', 'WCS_Admin_Meta_Boxes::remove_order_email_actions' );
352355
global $theorder;
353356

354357
if ( wcs_is_subscription( $theorder ) ) {

0 commit comments

Comments
 (0)