Skip to content

Instantly share code, notes, and snippets.

View Yuri-Lima's full-sized avatar
🤓

Yuri Lima Yuri-Lima

🤓
View GitHub Profile
@Yuri-Lima
Yuri-Lima / woocommerce-remove-added-to-cart-notice.php
Created October 15, 2021 15:59 — forked from JeroenSormani/woocommerce-remove-added-to-cart-notice.php
Remove the "Added to cart" notice in WooCommerce
<?php // For implementation instructions see: https://aceplugins.com/how-to-add-a-code-snippet/
/**
* Remove add to cart notice in WooCommerce
*/
add_filter( 'wc_add_to_cart_message_html', '__return_empty_string' );
@Yuri-Lima
Yuri-Lima / perfex_hooks_list
Created October 15, 2021 16:01 — forked from JamesSimpson/perfex_hooks_list
Full Perfex Hook List - For Perfex CRM Developers
File ---> application\controllers\admin\Authentication.php:
23: hooks()->do_action('admin_auth_init');
80: hooks()->do_action('after_staff_login');
107: hooks()->do_action('after_staff_login');
117: hooks()->do_action('after_staff_login');
219: hooks()->do_action('after_user_logout');
File ---> application\controllers\admin\Auto_update.php:
14: hooks()->do_action('before_perform_update', $latest_version);
@Yuri-Lima
Yuri-Lima / Perfex Language Cheat Sheet
Created October 15, 2021 16:02 — forked from JamesSimpson/Perfex Language Cheat Sheet
Guide to all Perfex CRM language functions
// Quick Reference Guide For Perfex CRM Language functions
_l('string') // Basic language conversion
_d('date') // Will output formatted date (Although seems to output datetime if datetime in DB)
_dt('datetime') // Will output formatted datetime output