The raw code to allow Icon Block plugin to scan a theme for icons.
Uses https://wordpress.org/plugins/icon-block/
Place svgs in the mai/icons directory.
Categories will be automatically generated from the directory structure.
Example:
The raw code to allow Icon Block plugin to scan a theme for icons.
Uses https://wordpress.org/plugins/icon-block/
Place svgs in the mai/icons directory.
Categories will be automatically generated from the directory structure.
Example:
| <?php // do not copy this line | |
| /** | |
| * Disables opening the Terms and Conditions page in an inline form on the Checkout page. | |
| * The Terms and Conditions link will then open in a new tab/window. | |
| */ | |
| add_action( 'wp', function() { | |
| remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_checkout_privacy_policy_text', 20 ); | |
| remove_action( 'woocommerce_checkout_terms_and_conditions', 'wc_terms_and_conditions_page_content', 30 ); | |
| } ); |
| <?php | |
| /** | |
| * Run a specific workflow for a specific order. | |
| * | |
| * @param int $workflow_id | |
| * @param int $order_id | |
| * | |
| * @throws \Exception | |
| */ |
Here are the best startup tools of 2019 that will help you build out your startup business as quickly, cheaply, and efficiently as possible.
This is a curated list of tools for everything from productivity to web hosting to development tools to designing. Most of these tools are either free or have limited free option that is enough for startups. We love all the free services out there, but it would be good to keep it on topic. It's a bit of a grey line at times so this is a bit opinionated; feel free to suggest and contribute in this list.
| function getByteSize(s) { | |
| return encodeURIComponent('<q></q>' + s).length; | |
| } | |
| getByteSize(document.cookie); |
| ## by rafaelsc | |
| ## This is a directory/file filter for WinMerge | |
| ## This filter Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons | |
| name: Visual Studio Files | |
| desc: Ignore Visual Studio temporary files, build results, and files generated by popular Visual Studio add-ons. | |
| ## This is an inclusive (loose) filter | |
| ## (it lets through everything not specified) | |
| def: include |
| Install Redis Support on windows by installing windows alternative: https://www.memurai.com/ | |
| Download redis php extension from https://pecl.php.net/package/redis/5.3.2/windows | |
| Go to your xampp/wamp directory, locate php/ext or php/php-version/ext folder and paste php_redis.dll file in it | |
| Edit your php.ini file and add extension=php_redis.dll line into this file | |
| Restart apache |
| /** | |
| * Code goes in functions.php or a custom plugin. | |
| */ | |
| add_action( 'woocommerce_email', 'unhook_those_pesky_emails' ); | |
| function unhook_those_pesky_emails( $email_class ) { | |
| /** | |
| * Hooks for sending emails during store events | |
| **/ |
First, I have added create media preset(s) that when used, will send you right at the select usb or save iso dialog.
And when booting from the media, the pick edition dialog will be skipped.
The attempts I've seen in this thread were mostly failing because /Pkey option is only meant for retail bought keys, not for generic / hwid!
To overcome this limitation script simply generates aPID.txtwith the key you provide and then adds it to the mediasourcesfolder.
| <?php | |
| /** | |
| * WARNING! THIS SNIPPET MAY BE OUTDATED. | |
| * The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
| * https://github.com/gravitywiz/snippet-library/blob/master/wc-gf-product-addons/wcgfpa-remove-fields.php | |
| */ | |
| /** | |
| * WooCommerce Gravity Forms Add-on: Add support for removing a field from the product description in the cart. | |
| * | |
| */ |