'affiliate_product', 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', 'meta_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query array( 'key' => '_affprod_type', 'value' => array( 'product', 'box' ), 'compare' => 'IN', ), ), ) ); $affiliateboxes_tables = get_posts( array( 'post_type' => 'affiliate_product', 'post_status' => 'publish', 'posts_per_page' => -1, 'orderby' => 'title', 'order' => 'ASC', 'meta_query' => array( // phpcs:ignore WordPress.DB.SlowDBQuery.slow_db_query_meta_query array( 'key' => '_affprod_type', 'value' => 'table', 'compare' => '=', ), ), ) ); $affiliateboxes_total_products = count( $affiliateboxes_products ); $affiliateboxes_total_tables = count( $affiliateboxes_tables ); ?>

–

ID, '_affprod_slug', true ); $affiliateboxes_last_updated = get_post_meta( $affiliateboxes_product->ID, '_affprod_last_synced', true ); $affiliateboxes_identifier = esc_html( get_post_meta( $affiliateboxes_product->ID, '_affprod_identifier', true ) ); ?>
post_title ); ?> [affiliateboxes_product slug=""]
[affiliateboxes_product identifier=""]


–

ID, '_affprod_slug', true ); $affiliateboxes_table_last_updated = get_post_meta( $affiliateboxes_table_item->ID, '_affprod_last_synced', true ); ?>
post_title ); ?> [affiliateboxes_table slug=""]