Home Page
Welcome to Eckankar NJ Welcome to Eckankar in New Jersey Join free events and explore spiritual freedom.Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
Welcome to Eckankar NJ Welcome to Eckankar in New Jersey Join free events and explore spiritual freedom.Continue reading
function wpb_copyright() { global $wpdb; $copyright_dates = $wpdb->get_results(” SELECT YEAR(min(post_date_gmt)) AS firstdate, YEAR(max(post_date_gmt)) AS lastdate FROM $wpdb->posts WHERE post_status = ‘publish’ “); $output = ”; if($copyright_dates) { $copyright = “© ” . $copyright_dates[0]->firstdate; if($copyright_dates[0]->firstdate != $copyright_dates[0]->lastdate) { $copyright .= ‘-‘…Continue reading
//* Deshabilitamos todos los emails que manda WooCommerce add_action( ‘woocommerce_email’, function ( $email_class ) { /** * Hooks for sending emails during store events **/ remove_action( ‘woocommerce_low_stock_notification’, array( $email_class, ‘low_stock’ ) ); remove_action( ‘woocommerce_no_stock_notification’, array( $email_class, ‘no_stock’ ) ); remove_action(…Continue reading
add_action( ‘add_meta_boxes’, function($post_type) { remove_meta_box( ‘wpcode-metabox-snippets’, $post_type, ‘normal’ ); }, 100 );Continue reading
add_shortcode( ‘mepr-subaccount-link’, function() { global $wpdb; $user = MeprUtils::get_currentuserinfo(); if ( ! $user ) { return; } $subaccount_link = ”; $caid = get_user_meta( $user->ID, ‘mpca_corporate_account_id’, true ); if ( empty( $caid ) ) { $query = $wpdb->prepare( “SELECT uuid FROM…Continue reading
add_shortcode(‘mpcs-unenrolled-courses’, function() { $unenrolled_courses = array(); $current_user = MeprUtils::get_currentuserinfo(); $mepr_user = new MeprUser( $current_user->ID ); $courses = get_posts( array( ‘post_type’ => ‘mpcs-course’, ‘post_status’ => ‘publish’, ‘posts_per_page’ => ‘-1’, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’ )); if (false == MeprUtils::is_logged_in_and_an_admin()) {…Continue reading
function mepr_load_course_styles( $allowed_handles ) { global $wp_styles; // Add all currently enqueued styles to the list of allowed handles foreach ( $wp_styles->queue as $style ) { $allowed_handles[] = $style; } return $allowed_handles; } // Add the filter to modify the…Continue reading
function white_label_wp_fusion( $translation, $text, $domain ) { if ( ‘wp-fusion’ === $domain ) { $translation = str_replace( ‘WP Fusion’, ‘CRM’, $translation ); } return $translation; } add_filter( ‘gettext’, ‘white_label_wp_fusion’, 10, 3 ); function wpf_whitelabel_crm( &$crm ) { $crm->name = ‘CRM’;…Continue reading
/* Plugin Name: Restaurant Hours, Shop Control & Checkout Disable (Enhanced with Vacations, Custom Notices, Dynamic Data, Close Button, Time Until Open, Admin Timezone & Shipping/Payment Disable) Description: Gestiona los horarios del restaurante (con múltiples sesiones en español) y deshabilita…Continue reading
function get_credit_report($atts) { $atts = shortcode_atts([ ‘username’ => ‘Nipho.Hlophe’, // API username ‘password’ => ‘kayNiph23’, // API password ‘id_number’ => ”, ‘first_name’ => ”, ‘last_name’ => ”, ], $atts); if (empty($atts[‘id_number’]) || empty($atts[‘first_name’]) || empty($atts[‘last_name’])) { return ‘Error: ID number,…Continue reading