Action: tcp product metabox toolbar

Description

The “tcp_product_metabox_toolbar” action is used to add elements to the links in the top of the products metabox.
View of product metabox toolbar

Example

<?php function my_tcp_product_metabox_toolbar( $post_id ) {
	if ( 'NEW_TYPE' == tcp_get_the_product_type( $post_id ) ) : ?>
		| New Type!!!
	<?php endif;
}

add_action( 'tcp_product_metabox_toolbar', 'my_tcp_product_metabox_toolbar' );

Change Log

Since 1.1.2

Related

tcp_product_metabox_custom_fields | tcp_product_metabox_custom_fields_after_price