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 | |
| /** | |
| * @snippet Complete Order Button @ WooCommerce Order Admin | |
| * @tutorial https://businessbloomer.com/woocommerce-customization | |
| * @author Rodolfo Melogli, Business Bloomer | |
| * @compatible WooCommerce 9 | |
| * @community https://businessbloomer.com/club/ | |
| */ | |
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 | |
| /** | |
| * @snippet Max 3 Stripe Payment Retries @ WooCommerce Order Pay | |
| * @tutorial https://businessbloomer.com/woocommerce-customization | |
| * @author Rodolfo Melogli, Business Bloomer | |
| * @compatible WooCommerce 9 | |
| * @community https://businessbloomer.com/club/ | |
| */ | |
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 | |
| /** | |
| * @snippet "Store Admin" View @ WordPress Dashboard | |
| * @tutorial https://businessbloomer.com/woocommerce-customization | |
| * @author Rodolfo Melogli, Business Bloomer | |
| * @compatible WooCommerce 10 | |
| * @community https://businessbloomer.com/club/ | |
| */ | |
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 | |
| /** | |
| * Gravity Wiz // Gravity Forms // Require Minimum and Maximum Character Limit for Gravity Forms | |
| * https://gravitywiz.com/require-minimum-character-limit-gravity-forms/ | |
| * | |
| * Adds support for requiring a minimum and maximum number of characters for text-based Gravity Form fields. | |
| * | |
| * Plugin Name: Gravity Forms - Require Minimum and Maximum Character Limit | |
| * Plugin URI: https://gravitywiz.com/require-minimum-character-limit-gravity-forms/ | |
| * Description: Adds support for requiring a minimum and maximum number of characters for text-based Gravity Form fields. |
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
| /** | |
| * Samodejno zaključi brezplačna digitalna naročila (0,00 €). | |
| * Deluje samo za naročila, ki vsebujejo izključno virtualne/prenosljive izdelke. | |
| */ | |
| add_filter( 'woocommerce_payment_complete_order_status', 'auto_complete_free_digital_orders', 10, 3 ); | |
| function auto_complete_free_digital_orders( $status, $order_id, $order ) { | |
| // Varnostna preverba | |
| if ( ! $order instanceof WC_Order ) { |
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 | |
| /** | |
| * Gravity Wiz // Gravity Forms // Display Field IDs Next to Field Labels in the Editor | |
| * https://gravitywiz.com/ | |
| * | |
| * Experimental Snippet 🧪 | |
| * | |
| * Instruction Video: https://www.loom.com/share/0268993d0b6c429ba50686bd740093bc | |
| * | |
| */ |
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
| //Remove Gutenberg Block Library CSS from loading on the frontend | |
| function smartwp_remove_wp_block_library_css(){ | |
| wp_dequeue_style( 'wp-block-library' ); | |
| wp_dequeue_style( 'wp-block-library-theme' ); | |
| } | |
| add_action( 'wp_enqueue_scripts', 'smartwp_remove_wp_block_library_css' ); |
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
| mysql -u root -p < C:\laragon\backup\mysql\xxx.sql |
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
| cd C:\laragon\usr\bin && curl -L -O https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && echo @ECHO OFF > wp.bat && echo php "%~dp0wp-cli.phar" %* >> wp.bat |
NewerOlder