h = WP_CONTENT_DIR . '/uploads/pdk-products.json'; if ( ! file_exists( $path ) ) { $path = '/tmp/pdk-products.json'; } if ( ! file_exists( $p "Freiplatz und Asphalt", "asin": null, "search": "pickleball+baelle+outdoor"}, {"name": "Indoor 26-Loch", "why": "Halle, weicher Bounce", "asityle="font-size:.85rem;color:#666;margin:0 0 .75rem;">Werbung / Affiliate-Links
'; echo 'Als Amazon-Partner verdienen wir an qualifizierten Verkäufen. Preise auf Amazon prüfen.
'; echo '\s*(\[pdk_products[^\]]*\])\s*
#i', '$1', $content ); return (string) preg_replace_callback( '/\[pdk_products[^\]]*\]/', static function ( array $m ): string { return do_shortcode( $m[0] ); }, $content ); } S as $hub => $hints ) { if ( $slug === $hub || in_array( $slug, $hints, true ) ) { return $hub; } } } return null; } /** * Mst_id ) { return $content; } $hub = pdk_resolve_silo_for_post( $post_id ); if ( ! $hub ) { return $content; } $hub_url = trailingslash = WP_CONTENT_DIR . '/uploads/pdk-products.json'; if ( ! file_exists( $path ) ) { $path = '/tmp/pdk-products.json'; } if ( ! file_exists( $p "Freiplatz und Asphalt", "asin": null, "search": "pickleball+baelle+outdoor"}, {"name": "Indoor 26-Loch", "why": "Halle, weicher Bounce", "asityle="font-size:.85rem;color:#666;margin:0 0 .75rem;">Werbung / Affiliate-Links'; echo 'Als Amazon-Partner verdienen wir an qualifizierten Verkäufen. Preise auf Amazon prüfen.
'; echo '\s*(\[pdk_products[^\]]*\])\s*
#i', '$1', $content ); return (string) preg_replace_callback( '/\[pdk_products[^\]]*\]/', static function ( array $m ): string { return do_shortcode( $m[0] ); }, $content ); } S as $hub => $hints ) { if ( $slug === $hub || in_array( $slug, $hints, true ) ) { return $hub; } } } return null; } /** * Mst_id ) { return $content; } $hub = pdk_resolve_silo_for_post( $post_id ); if ( ! $hub ) { return $content; } $hub_url = trailingslas="%2$s">Alle Artikel zu %1$s bei %3$s', esc_html( $hub_name ), esc_url( $hub_url ), esc_html( PDK_ENTITY_NAME ) ); if ( strpos( $content, 'pdk-silo-context' ) !== false ) { return $content; } return $content . $block; } function pdk_breadcrumb_schema(): void {