(hook_prefix)catalog_visibility filter-hook . WC 1.0
Get catalog visibility.
Usage
add_filter( '(hook_prefix)catalog_visibility', 'filter_function_name_9717', 10, 2 ); function filter_function_name_9717( $context, $that ){ // filter... return $context; }
- $context(string)
- What the value is for. Valid values are view and edit.
- $that
- -
Where the hook is called
(hook_prefix)catalog_visibility
woocommerce/includes/class-wc-product-variation.php 419
return apply_filters( $this->get_hook_prefix() . 'catalog_visibility', $this->parent_data['catalog_visibility'], $this );