add_action( ‘elementor/query/slurrytanks_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘slurrytanks’, ‘slurrytanks-tools’, ‘slurrytanks-patreonmods’, ‘slurrytanks-servermods’, ‘slurrytanks-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); }…Continue reading
add_action( ‘elementor/query/cultivators_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘cultivators’, ‘cultivators-patreonmods’, ‘cultivators-servermods’, ‘cultivators-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); } });Continue reading
add_action( ‘elementor/query/trailers_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘trailers’, ‘trailers-patreonmods’, ‘trailers-servermods’, ‘trailers-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); } });Continue reading
add_action( ‘elementor/query/cars_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘cars’, ‘cars-patreonmods’, ‘cars-servermods’, ‘cars-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); } });Continue reading
add_action( ‘elementor/query/trucks_category_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘trucks’, ‘trucks-patreonmods’, ‘trucks-servermods’, ‘trucks-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); } });Continue reading
add_action( ‘elementor/query/tractors_mods_query’, function( $query ) { $term_ids = get_terms([ ‘taxonomy’ => ‘category’, ‘slug’ => [‘tractors’, ‘tractors-patreonmods’, ‘tractors-servermods’, ‘tractors-exclusivemods’], ‘fields’ => ‘ids’, ‘hide_empty’ => true, ]); if ( !empty($term_ids) && !is_wp_error( $term_ids ) ) { $query->set( ‘category__in’, $term_ids ); } });Continue reading
function update_download_links() { global $wpdb; $table_name = $wpdb->prefix . ‘postmeta’; // Correct table name as per WordPress structure // SQL query to select the posts with specific meta key and a flexible URL pattern $results = $wpdb->get_results(“SELECT post_id, meta_value FROM…Continue reading
function update_download_links() { global $wpdb; $table_name = $wpdb->prefix . ‘postmeta’; // Correcting table name based on typical WordPress structure // SQL query to select the posts with specific meta key and URL format $results = $wpdb->get_results(“SELECT post_id, meta_value FROM {$table_name}…Continue reading