Submit
Path:
~
/
home
/
getwphos
/
public_html
/
perfumehousedhaka
/
wp-content
/
plugins
/
woocommerce
/
src
/
Internal
/
Admin
/
File Content:
MobileAppBanner.php
<?php namespace Automattic\WooCommerce\Internal\Admin; defined( 'ABSPATH' ) || exit; /** * Determine if the mobile app banner shows on Android devices */ class MobileAppBanner { /** * Class instance. * * @var Analytics instance */ protected static $instance = null; /** * Get class instance. */ public static function get_instance() { if ( ! self::$instance ) { self::$instance = new self(); } return self::$instance; } /** * Hook into WooCommerce. */ public function __construct() { add_filter( 'woocommerce_admin_get_user_data_fields', array( $this, 'add_user_data_fields' ) ); } /** * Adds fields so that we can store user preferences for the mobile app banner * * @param array $user_data_fields User data fields. * @return array */ public function add_user_data_fields( $user_data_fields ) { return array_merge( $user_data_fields, array( 'android_app_banner_dismissed', ) ); } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
Agentic
---
0755
BlockTemplates
---
0755
EmailImprovements
---
0755
EmailPreview
---
0755
Emails
---
0755
ImportExport
---
0755
Logging
---
0755
Marketing
---
0755
Notes
---
0755
Onboarding
---
0755
Orders
---
0755
ProductForm
---
0755
ProductReviews
---
0755
RemoteFreeExtensions
---
0755
Schedulers
---
0755
Settings
---
0755
Suggestions
---
0755
WCPayPromotion
---
0755
ActivityPanels.php
1616 bytes
0644
Analytics.php
12067 bytes
0644
CategoryLookup.php
8180 bytes
0644
Coupons.php
2928 bytes
0644
CouponsMovedTrait.php
2470 bytes
0644
CustomerEffortScoreTracks.php
18076 bytes
0644
Events.php
8872 bytes
0644
FeaturePlugin.php
6800 bytes
0644
Homescreen.php
8860 bytes
0644
Loader.php
19643 bytes
0644
Marketing.php
6440 bytes
0644
Marketplace.php
3561 bytes
0644
MobileAppBanner.php
956 bytes
0644
RemoteInboxNotifications.php
932 bytes
0644
Settings.php
14872 bytes
0644
ShippingLabelBanner.php
4779 bytes
0644
ShippingLabelBannerDisplayRules.php
3718 bytes
0644
SiteHealth.php
2370 bytes
0644
Survey.php
768 bytes
0644
SystemStatusReport.php
5990 bytes
0644
Translations.php
11942 bytes
0644
WCAdminAssets.php
18000 bytes
0644
WCAdminSharedSettings.php
2128 bytes
0644
WCAdminUser.php
5390 bytes
0644
WcPayWelcomePage.php
6481 bytes
0644
N4ST4R_ID | Naxtarrr