skip to Main Content

WordPress – ACF repeaater Not working even after coding the fields right

My code <?php if( have_rows('mir_global_header') ): ?> <div id="mid-bg1"> <div id="top-container1"> <?php while( have_rows('mir_global_header') ): the_row(); $count = get_row_index(); $header_image = get_sub_field('header_image'); $header_image_text = get_sub_field('header_image_text'); ?> <img src="<?php echo $header_image; ?>" id="<?php echo $count; ?>" alt="<?php echo $header_image_text; ?>" />…

VIEW QUESTION

WooCommerce trigger all orders update

I want to trigger action save_post_shop_order by url, because I have custom function that will create product meta there on checking. I tried something like: add_action('wp_head', 'update_orders_by_url'); function update_orders_by_url() { if( isset( $_GET['update_woo_orders'] ) ) { $query = new WC_Order_Query(…

VIEW QUESTION
Back To Top
Search