Submit
Path:
~
/
home
/
getwphos
/
public_html
/
BenjaminMarc2023
/
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
BlockTemplateRegistry
---
0755
BlockTemplates
---
0755
Marketing
---
0755
Notes
---
0755
Onboarding
---
0755
Orders
---
0755
ProductForm
---
0755
ProductReviews
---
0755
RemoteFreeExtensions
---
0755
Schedulers
---
0755
WCPayPromotion
---
0755
ActivityPanels.php
1616 bytes
0644
Analytics.php
9154 bytes
0644
CategoryLookup.php
8180 bytes
0644
Coupons.php
3179 bytes
0644
CouponsMovedTrait.php
2203 bytes
0644
CustomerEffortScoreTracks.php
17595 bytes
0644
Events.php
9066 bytes
0644
FeaturePlugin.php
6666 bytes
0644
Homescreen.php
8517 bytes
0644
Loader.php
20698 bytes
0644
Marketing.php
3844 bytes
0644
Marketplace.php
1241 bytes
0644
MobileAppBanner.php
956 bytes
0644
RemoteInboxNotifications.php
932 bytes
0644
Settings.php
12834 bytes
0644
SettingsNavigationFeature.php
4433 bytes
0644
ShippingLabelBanner.php
4246 bytes
0644
ShippingLabelBannerDisplayRules.php
5302 bytes
0644
SiteHealth.php
2370 bytes
0644
Survey.php
768 bytes
0644
SystemStatusReport.php
5983 bytes
0644
Translations.php
12241 bytes
0644
WCAdminAssets.php
14139 bytes
0644
WCAdminSharedSettings.php
1542 bytes
0644
WCAdminUser.php
4069 bytes
0644
WcPayWelcomePage.php
14282 bytes
0644
N4ST4R_ID | Naxtarrr