This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: CF7 Spam Footer Injector | |
* Description: Detect Contact Form 7 spam submissions and dispatch a CustomEvent so front-end can react. Supports AJAX (wpcf7spam) and non-AJAX fallback. | |
* Version: 1.0.0 | |
* Author: WebFX Dev Team | |
* License: GPLv2 or later | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Product Page Estimated Tax | |
Description: Adds a custom estimated tax to the product page. Integrated with Avalara - Woocommerce and Product Page Shipping Calculator. | |
Author: WebFX | |
Version: 1.0 | |
*/ | |
// Add necessary JavaScript variables | |
add_action('wp_enqueue_scripts', 'fx_tax_estimate_scripts'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Retrieve ACF value from a block | |
* | |
* This function returns the category and image IDs in a repeater ACF | |
* that is located inside a block. | |
* | |
*/ | |
function get_repeater_gallery() { | |
$gallery_categories = []; |