/home/suroeste/public_html/wp-content/plugins/woocommerce/src/Internal/Admin
NameSizeModeActions
BlockTemplates/-0755rm
Logging/-0755rm
Marketing/-0755rm
Notes/-0755rm
Onboarding/-0755rm
Orders/-0755rm
ProductForm/-0755rm
ProductReviews/-0755rm
RemoteFreeExtensions/-0755rm
Schedulers/-0755rm
WCPayPromotion/-0755rm
ActivityPanels.php16160644editdlrm
Analytics.php91540644editdlrm
CategoryLookup.php81800644editdlrm
Coupons.php30310644editdlrm
CouponsMovedTrait.php22030644editdlrm
CustomerEffortScoreTracks.php175950644editdlrm
Events.php91140644editdlrm
FeaturePlugin.php66660644editdlrm
Homescreen.php88930644editdlrm
Loader.php204400644editdlrm
Marketing.php64050644editdlrm
Marketplace.php51590644editdlrm
MobileAppBanner.php9560644editdlrm
RemoteInboxNotifications.php9320644editdlrm
Settings.php134180644editdlrm
SettingsNavigationFeature.php44330644editdlrm
ShippingLabelBanner.php40960644editdlrm
ShippingLabelBannerDisplayRules.php53020644editdlrm
SiteHealth.php23700644editdlrm
Survey.php7680644editdlrm
SystemStatusReport.php59830644editdlrm
Translations.php122410644editdlrm
WCAdminAssets.php167570644editdlrm
WCAdminSharedSettings.php15320644editdlrm
WCAdminUser.php41750644editdlrm
WcPayWelcomePage.php159270644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/CouponsMovedTrait.php (2203B)
true ] ); } /** * Get the URL for the coupon management page. * * @param array $args Additional URL query arguments. * * @return string */ protected static function get_coupon_url( $args = [] ) { $args = array_merge( [ 'post_type' => 'shop_coupon', ], $args ); return add_query_arg( $args, admin_url( 'edit.php' ) ); } /** * Get the new URL for managing coupons. * * @param string $page The management page. * * @return string */ protected static function get_management_url( $page ) { $path = ''; switch ( $page ) { case 'coupon': case 'coupons': return self::get_coupon_url(); case 'marketing': $path = self::get_marketing_path(); break; } return "wc-admin&path={$path}"; } /** * Get the WC Admin path for the marking page. * * @return string */ protected static function get_marketing_path() { return '/marketing/overview'; } /** * Whether we should display the legacy coupon menu item. * * @return bool */ protected static function should_display_legacy_menu() { return ( get_option( self::$option_key, 1 ) && ! Features::is_enabled( 'navigation' ) ); } /** * Set whether we should display the legacy coupon menu item. * * @param bool $display Whether the menu should be displayed or not. */ protected static function display_legacy_menu( $display = false ) { update_option( self::$option_key, $display ? 1 : 0 ); } }