wooblueprint_export_settings
Usage
add_filter( 'wooblueprint_export_settings', 'wp_kama_wooblueprint_export_settings_filter', 10, 3 ); /** * Function for `wooblueprint_export_settings` filter-hook. * * @param $options * @param $pages * @param $option_info * * @return */ function wp_kama_wooblueprint_export_settings_filter( $options, $pages, $option_info ){ // filter... return $options; }
- $options
- -
- $pages
- -
- $option_info
- -
Where the hook is called
wooblueprint_export_settings
woocommerce/src/Admin/Features/Blueprint/Exporters/ExportWCSettings.php 78
$filtered = $this->wp_apply_filters( 'wooblueprint_export_settings', $options, $pages, $option_info );
Where the hook is used in WooCommerce
woocommerce/src/Admin/Features/Blueprint/Exporters/ExportWCSettings.php 49
$this->wp_add_filter( 'wooblueprint_export_settings', array( $this, 'add_site_visibility_settings' ), 10, 3 );