/home/altere25/labratnyc.com/wp-content/plugins/facebook-for-woocommerce/includes
NameSizeModeActions
Admin/-0755rm
API/-0755rm
Debug/-0755rm
Events/-0755rm
ExternalVersionUpdate/-0755rm
FBSignedData/-0755rm
Feed/-0755rm
Framework/-0755rm
Handlers/-0755rm
Integrations/-0755rm
Jobs/-0755rm
Logger/-0755rm
OfferManagement/-0755rm
Products/-0755rm
ProductSets/-0755rm
ProductSync/-0755rm
Utilities/-0755rm
Admin.php1085580644editdlrm
AJAX.php137070644editdlrm
API.php378850644editdlrm
Checkout.php67510644editdlrm
CollectionPage.php101720644editdlrm
Commerce.php15750644editdlrm
fbasync.php8030644editdlrm
fbbackground.php48640644editdlrm
fbproduct.php1039800644editdlrm
fbproductfeed.php245780644editdlrm
fbutils.php323350644editdlrm
Lifecycle.php139490644editdlrm
Locale.php142900644editdlrm
ProductAttributeMapper.php298210644editdlrm
Products.php392410644editdlrm
Product_Categories.php12520644editdlrm
RolloutSwitches.php56120644editdlrm
Signals.php37380644editdlrm
WPMLInjector.php69350644editdlrm
WPMLLanguageStatus.php6950644editdlrm
Edit: /home/altere25/labratnyc.com/wp-content/plugins/facebook-for-woocommerce/includes/WPMLInjector.php (6935B)
get_active_languages() ); $settings = array(); foreach ( $active_languages as $lang ) { $settings[ $lang ] = 'on' === $REQUEST[ $lang ] ? WPMLLanguageStatus::VISIBLE : WPMLLanguageStatus::HIDDEN; } update_option( 'fb_wmpl_language_visibility', $settings, false ); self::$settings = $settings; } } /** * Prints the content for Facebook Visibility section. * * The section is shown at the bottom of the WPML > Languages settings page. */ public function wpml_support() { /** @var SitePress $sitepress */ global $sitepress; // there is no nonce to check here and the value of $_GET['page] is being compared against a known and safe string // phpcs:ignore WordPress.Security.NonceVerification.Recommended if ( isset( $_GET['page'] ) && false !== strpos( esc_url_raw( wp_unslash( $_GET['page'] ) ), 'languages.php' ) ) { /** @var array $active_languages */ $active_languages = $sitepress->get_active_languages(); $settings = get_option( self::OPTION ); // Default setting is only show default lang. if ( ! $settings ) { $settings = array_fill_keys( array_keys( $active_languages ), WPMLLanguageStatus::HIDDEN ); if ( self::$default_lang ) { $settings[ self::$default_lang ] = WPMLLanguageStatus::VISIBLE; } } // Count how many languages are currently set to VISIBLE $visible_languages_count = count( array_filter( $settings, function ( $status ) { return WPMLLanguageStatus::VISIBLE === $status; } ) ); // Check if user has legacy multi-language setup (2+ languages visible) $has_legacy_setup = $visible_languages_count >= 2; // Don't show the section at all for new/eligible users if ( ! $has_legacy_setup ) { return; } ?>

$set ) : ?>