add_action(‘fluent_crm/after_init’, function () { $key = ‘fluentsmtp_emails’; $sectionTitle = ‘Emails Sent (FluentSMTP)’; $callback = function($contentArr, $subscriber) { global $wpdb; $table_name = $wpdb->prefix . ‘fsmpt_email_logs’; // Perform the query to get all emails for this contact $query = $wpdb->prepare( “SELECT *…Continue reading
add_action( ‘wp_head’, ‘wcv_bank_fields_2_column_reorder’ ); function wcv_bank_fields_2_column_reorder() { // Only load on vendor dashboard pages if ( ! is_user_logged_in() ) return; ?>Continue reading
!function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,’script’, ‘https://connect.facebook.net/en_US/fbevents.js’); fbq(‘init’, ‘1452255222359732’); fbq(‘track’, ‘PageView’);Continue reading
add_action(‘wp_footer’, function () { ?>Continue reading
add_action(‘pre_get_posts’, function($query) { if (!is_admin() && $query->is_main_query() && is_category()) { $sticky_posts = get_option(‘sticky_posts’); if (!empty($sticky_posts)) { add_filter(‘posts_orderby’, function($orderby, $query) use ($sticky_posts) { if (!is_admin() && $query->is_main_query() && is_category()) { global $wpdb; $sticky_list = implode(‘,’, array_map(‘intval’, $sticky_posts)); return “FIELD({$wpdb->posts}.ID, {$sticky_list}) DESC,…Continue reading
/* 1) Smartbill plugin: multiple changes in at least includes/class-smartbillutils.php 2) woocommerce-side-cart-premium plugin cand Flyingpress serveste cache …cartul se va actualiza later ptr ca delayed JS/CSS deci nu trebuie sa afisez cart count daca = 0 nu vreau sa afisez…Continue reading
add_filter( ‘woocommerce_checkout_fields’, ‘rd_email_first_for_checkout’ ); function rd_email_first_for_checkout( $checkout_fields ) { $checkout_fields[‘billing’][‘billing_email’][‘priority’] = 25; return $checkout_fields; }Continue reading