googlesitekit_apifetch_preload_paths
googlesitekit_apifetch_preload_paths
Appears in: wordpress-seo.25.3, wordpress-seo.25.4
Hook Type: filter
Displaying hooks found in version: wordpress-seo.25.4apply_filters('googlesitekit_apifetch_preload_paths') is found 1 times:
- /src/dashboard/infrastructure/integrations/site-kit.php line 268
* * @return array<array|null> The array with all the now filled in preloaded data. */ public function get_preloaded_data( array $paths ): array { $preload_paths = \apply_filters( 'googlesitekit_apifetch_preload_paths', [] ); $actual_paths = \array_intersect( $paths, $preload_paths ); return \array_reduce( \array_unique( $actual_paths ), 'rest_preload_api_request', []