{"id":18127308,"url":"https://github.com/robertdevore/wp-query-execution-time","last_synced_at":"2025-08-11T13:09:14.437Z","repository":{"id":202971560,"uuid":"708521885","full_name":"robertdevore/wp-query-execution-time","owner":"robertdevore","description":"WP_Query Execution Time","archived":false,"fork":false,"pushed_at":"2023-10-22T20:04:08.000Z","size":17,"stargazers_count":16,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-03T06:33:10.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertdevore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-22T19:54:56.000Z","updated_at":"2025-01-13T02:47:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3cd0ef3-4e75-4452-8d40-e83c90e6490a","html_url":"https://github.com/robertdevore/wp-query-execution-time","commit_stats":null,"previous_names":["robertdevore/wp-query-execution-time"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertdevore/wp-query-execution-time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdevore%2Fwp-query-execution-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdevore%2Fwp-query-execution-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdevore%2Fwp-query-execution-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdevore%2Fwp-query-execution-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertdevore","download_url":"https://codeload.github.com/robertdevore/wp-query-execution-time/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertdevore%2Fwp-query-execution-time/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269891994,"owners_count":24491833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-01T09:17:30.968Z","updated_at":"2025-08-11T13:09:14.405Z","avatar_url":"https://github.com/robertdevore.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP_Query Execution Time\n\nMeasure the execution time of a specific WP_Query and log it to the browser console.\n\n### How to use\n\n1. Activate the plugin\n2. Pass all of the the `wp_query_id` instances you want to target as an array to the `wpqet_target_query_id` filter\n3. Review the console to view the execution time for your queries\n\n**Filter example**\n\n````\n/**\n * Target Query ID\n * \n * @return string\n */\nfunction acme_target_query_id_filter( $ids ) {\n    $ids = array( 'your_query_id', 'another_id_here' );\n\n    return $ids;\n}\nadd_filter( 'wpqet_target_query_id', 'acme_target_query_id_filter' );\n````\n\n**Example output**\n\n`WP_Query Execution Time for wpd_products_widget: 0.0337 seconds`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdevore%2Fwp-query-execution-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertdevore%2Fwp-query-execution-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertdevore%2Fwp-query-execution-time/lists"}