sfw/register/sfw-product
Description
Filters the product posttype before registration
Since: 1.0.0
For further information see: register_post_type
Usage
<?php
function my_sfw_register_sfw_product ( $args ){
…
// modify $args here
…
return $args;
}
add_filter( 'sfw/register/sfw-product', 'my_sfw_register_sfw_product', 10, 1 );
?>
Parameter
- $args
- (array)