{"id":15039815,"url":"https://github.com/automattic/jetpack-admin-ui","last_synced_at":"2025-10-19T18:31:46.917Z","repository":{"id":44147426,"uuid":"412075645","full_name":"Automattic/jetpack-admin-ui","owner":"Automattic","description":"[READ ONLY] Generic Jetpack wp-admin UI elements. This repository is a mirror, for issue tracking and development head to: https://github.com/automattic/jetpack","archived":false,"fork":false,"pushed_at":"2025-01-27T12:56:09.000Z","size":134,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"trunk","last_synced_at":"2025-01-30T01:03:36.989Z","etag":null,"topics":["wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Automattic.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-30T13:26:43.000Z","updated_at":"2024-11-25T17:47:01.000Z","dependencies_parsed_at":"2023-09-25T23:21:19.390Z","dependency_job_id":"43a30007-ea13-4b71-a6cf-b24411aa2bcd","html_url":"https://github.com/Automattic/jetpack-admin-ui","commit_stats":{"total_commits":66,"total_committers":15,"mean_commits":4.4,"dds":0.6666666666666667,"last_synced_commit":"ac482ed8dda28a4c90879ad3feff69310d12ec5f"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fjetpack-admin-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fjetpack-admin-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fjetpack-admin-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Automattic%2Fjetpack-admin-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Automattic","download_url":"https://codeload.github.com/Automattic/jetpack-admin-ui/tar.gz/refs/heads/trunk","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237191905,"owners_count":19269785,"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","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":["wordpress"],"created_at":"2024-09-24T20:43:52.244Z","updated_at":"2025-10-19T18:31:46.630Z","avatar_url":"https://github.com/Automattic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# admin-ui\n\nGeneric Jetpack wp-admin UI elements\n## How to use\n### Menu Registration\n\nUse the Admin_Menu class to add your plugin under the Jetpack top level menu in WP-Admin.\n\nThis package will make sure to register the top level menu, if not registered yet, and will add the new menu(s) item(s) under it.\n\nUse the `add_menu` to register your menu, no need to do it inside the `admin_menu` hook. You can do it in your plugin initialization.\n\nThe parameters this method gets are the same parameters `add_submenu_page` gets, except that you don't need to inform `parent` menu.\n\nExample:\n\n```PHP\nuse Automattic\\Jetpack\\Admin_UI\\Admin_Menu;\n\n$page_suffix = Admin_Menu::add_menu(\n\t__( 'My Awesome plugin', 'my-awesome-plugin' ),\n\t__( 'My Awesome plugin', 'my-awesome-plugin' ),\n\t'manage_options',\n\t'my-awesome-plugin',\n\t'__my_plugin_page_callback'\n);\nadd_action( 'load-' . $page_suffix, 'my_plugin_do_stuff_on_page_load' );\n\n```\n## Security\n\nNeed to report a security vulnerability? Go to [https://automattic.com/security/](https://automattic.com/security/) or directly to our security bug bounty site [https://hackerone.com/automattic](https://hackerone.com/automattic).\n\n## License\n\nadmin-ui is licensed under [GNU General Public License v2 (or later)](./LICENSE.txt)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fjetpack-admin-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautomattic%2Fjetpack-admin-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautomattic%2Fjetpack-admin-ui/lists"}