woocommerce_admin_shared_settings
Usage
add_filter( 'woocommerce_admin_shared_settings', 'wp_kama_woocommerce_admin_shared_settings_filter' ); /** * Function for `woocommerce_admin_shared_settings` filter-hook. * * @param $array * * @return */ function wp_kama_woocommerce_admin_shared_settings_filter( $array ){ // filter... return $array; }
- $array
- -
Where the hook is called
woocommerce_admin_shared_settings
woocommerce/src/Internal/Admin/WCAdminSharedSettings.php 61
return apply_filters( 'woocommerce_admin_shared_settings', array() );
Where the hook is used in WooCommerce
woocommerce/includes/admin/helper/class-wc-helper-admin.php 39
add_filter( 'woocommerce_admin_shared_settings', array( __CLASS__, 'add_marketplace_settings' ) );
woocommerce/src/Admin/Features/Blueprint/Init.php 31
add_filter( 'woocommerce_admin_shared_settings', array( $this, 'add_upload_nonce_to_settings' ) );
woocommerce/src/Admin/Features/LaunchYourStore.php 20
add_filter( 'woocommerce_admin_shared_settings', array( $this, 'preload_settings' ) );
woocommerce/src/Admin/Features/OnboardingTasks/TaskLists.php 77
add_filter( 'woocommerce_admin_shared_settings', array( __CLASS__, 'task_list_preloaded_settings' ), 20 );
woocommerce/src/Internal/Admin/ActivityPanels.php 39
add_filter( 'woocommerce_admin_shared_settings', array( $this, 'component_settings' ), 20 );
woocommerce/src/Internal/Admin/Marketing.php 64
add_filter( 'woocommerce_admin_shared_settings', array( $this, 'component_settings' ), 30 );
woocommerce/src/Internal/Admin/Onboarding/OnboardingSetupWizard.php 46
add_filter( 'woocommerce_admin_shared_settings', array( $this, 'component_settings' ), 20 );
woocommerce/src/Internal/Admin/Settings.php 45
add_filter( 'woocommerce_admin_shared_settings', array( $this, 'add_component_settings' ) );
woocommerce/src/Internal/Admin/SettingsNavigationFeature.php 50
add_filter( 'woocommerce_admin_shared_settings', array( __CLASS__, 'add_component_settings' ) );
woocommerce/src/Internal/Admin/WcPayWelcomePage.php 47
add_filter( 'woocommerce_admin_shared_settings', [ $this, 'shared_settings' ] );
woocommerce/src/Internal/Features/FeaturesController.php 103
self::add_filter( 'woocommerce_admin_shared_settings', array( $this, 'set_change_feature_enable_nonce' ), 20, 1 );