This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Plugin Name: WooCommerce Add Taxonomy to Export | |
| * Plugin URI: https://gist.github.com/helgatheviking/114c8df50cabb7119b3c895b1d854533/ | |
| * Description: Add a custom taxonomy to WooCommerce import/export. | |
| * Version: 1.0.1 | |
| * Author: Kathy Darling | |
| * Author URI: https://kathyisawesome.com/ | |
| * | |
| * Woo: 18716:fbca839929aaddc78797a5b511c14da9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_action('rest_api_init', function() { | |
| // Surface all Gutenberg blocks in the WordPress REST API | |
| $post_types = get_post_types_by_support( [ 'editor' ] ); | |
| foreach ( $post_types as $post_type ) { | |
| if ( gutenberg_can_edit_post_type( $post_type ) ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * | |
| * You can find the complete tutorial for this here: | |
| * https://pluginrepublic.com/woocommerce-custom-fields | |
| * | |
| * Alternatively, check out the plugin | |
| * https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/ | |
| * |
OlderNewer