/** * Remove header image from email notifications for specific form IDs. */ add_filter( ‘wpforms_emails_templates_general_set_initial_args’, ‘wpforms_remove_header_image_by_form_id’, 10, 2 ); function wpforms_remove_header_image_by_form_id( $args, $template ) { // List the form IDs that should NOT include a header image. $forms_without_header = array(…Continue reading
// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading
// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading
/** * Nurtured First — Modular GA4/GTM dataLayer events for WooCommerce * – Drop-in WPCode PHP snippet (front-end). * – Core helpers + an event registry so you can add events over time. * * Built-in events: * – purchase…Continue reading
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