Grant Wholesale Lead Approval for a Certain User Role
Allow other user roles e.g. "Editor" to "Approve" or "Reject" wholesale applications from the WP Dashboard…
Set a cookie if the URL contains specific UTM parameters.
The below script checks the URL for specific UTM parameters and if found, saves a cookie…
MemberPress: Adjusting Paywall Cookie Expiry Time
This code snippet modifies the default expiration period (30 days) for the MemberPress paywall cookie. The…
هوش مصنوعی
میخوام یه هوش مصنوعی بسازم که بره برام میم کویین بساع
DJ ANIMATIONS MUSICALES
Animation musicales des soirées privées et publiques
Wordpress Debugging
define( 'WP_DEBUG', true ); define( 'SAVEQUERIES', true );
Remove field checkout WooCommerce
Remove field checkout WooCommerce
om.Campaign.init
document.addEventListener('om.Campaign.init', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Countdown.init
document.addEventListener('om.Countdown.init', function(event) { console.log(event.detail.Countdown); console.log(event.detail.Campaign); } );
om.Analytics.track example 1
document.addEventListener('om.Analytics.track', function(event) { if ( 'conversion' === event.detail.Analytics.type ) { console.log(event.detail.Campaign.id + '-' + event.detail.Campaign.type +…
Page Element Shortcodes
add_shortcode('page_title', function () { global $wp_query; if( isset( $wp_query ) && (bool) $wp_query->is_posts_page ) { return…
Shortcode widget main categories WooCommerce
function shortcode_categorie_principali_wc() { $args = array( 'taxonomy' => 'product_cat', 'orderby' => 'menu_order', 'order' => 'ASC', 'hide_empty'…
_MK - Last connection
// Enregistre la date de connexion de l'utilisateur function enregistrer_derniere_connexion($user_login, $user) { // Met à jour…