ACF option field shortcode
function acf_option_field_shortcode( $atts ) { // Definimos los atributos por defecto (solo necesitamos 'field') $atts =…
TOC before first heading
Output the TOC block before the first heading in a post
Roles.php
Create and Assign Customer Roles
Add Payment ID to Sales API
If sequential order numbers are on, those numbers are returned in the sales API instead of…
TICKET NUMBER
/** * Increment total entry number on each submission * * @link https://wpforms.com/developers/how-to-increment-a-count-on-each-form-submission */ function wpf_dev_update_total_field(…
Remove Post Title from Yoast Breadcrumbs
This snippet removes the post title from Yoast SEO breadcrumbs
Add a document file upload
// Add the document field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_doc_uploader'); function wcv_doc_uploader( ){ if…
Enable product images in vendor order email notifications
add_filter( 'wcvendors_vendor_order_items_args', 'wcv_enable_product_image_vendor_order_email' ); function wcv_enable_product_image_vendor_order_email( $order_item_args ){ $order_item_args['show_image'] = true; return $order_item_args; }
custom footer chatgpt html
About Us "Ilavanam is a farm in Tiruppur. Ilavanam is trying to lead sustainable living. The…
Remove Google Fonts
add_filter( 'elementor/frontend/print_google_fonts', '__return_false' );
Untitled Snippet
i want a on off button that when press each other send logical true if press…
Add Profile ID to Subscriber
You can assign any CRM ID or your database ID to your push subscriber and then…