diff --git a/includes/hooks-wp-fee.php b/includes/hooks-wp-fee.php index 2cb9bb5..9a447f8 100755 --- a/includes/hooks-wp-fee.php +++ b/includes/hooks-wp-fee.php @@ -87,6 +87,22 @@ function cacsp_wp_fee_enqueue_scripts() { } add_action( 'wp_enqueue_scripts', 'cacsp_wp_fee_enqueue_scripts', 999 ); +/** + * Add button to WP FEE's toolbar + * + * @param object $post The WordPress post object + */ +function cacsp_wp_fee_tax_buttons( $post ) { + if ( ! cacsp_is_page() ) { + return; + } + + if ( in_array( 'cacsp_paper_tag', get_object_taxonomies( $post ) ) ) { ?> + +