woocommerce_after_register_post_type
Usage
add_action( 'woocommerce_after_register_post_type', 'wp_kama_woocommerce_after_register_post_type_action' ); /** * Function for `woocommerce_after_register_post_type` action-hook. * * @return void */ function wp_kama_woocommerce_after_register_post_type_action(){ // action... }
Where the hook is called
woocommerce_after_register_post_type
woocommerce/includes/class-wc-post-types.php 562
do_action( 'woocommerce_after_register_post_type' );
Where the hook is used in WooCommerce
woocommerce/includes/class-wc-post-types.php 31
add_action( 'woocommerce_after_register_post_type', array( __CLASS__, 'maybe_flush_rewrite_rules' ) );
woocommerce/src/Internal/Admin/Notes/OrderMilestones.php 84
add_action( 'woocommerce_after_register_post_type', array( $this, 'init' ) );
woocommerce/src/Internal/DataStores/Orders/CustomOrdersTableController.php 146
self::add_action( 'woocommerce_after_register_post_type', array( $this, 'register_post_type_for_order_placeholders' ), 10, 0 );