{"id":16040903,"url":"https://github.com/sejas/playground-plugin-admin-notice","last_synced_at":"2026-01-07T20:04:30.426Z","repository":{"id":210521055,"uuid":"726764993","full_name":"sejas/playground-plugin-admin-notice","owner":"sejas","description":"Basic plugin example to display a notice inside WordPress admin","archived":false,"fork":false,"pushed_at":"2024-08-05T15:36:12.000Z","size":329,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T04:12:58.060Z","etag":null,"topics":["wordpress","wordpress-playground","wordpress-plugin"],"latest_commit_sha":null,"homepage":"https://sejas.es/playground/admin-notice","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sejas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-03T10:37:01.000Z","updated_at":"2024-09-07T06:22:39.000Z","dependencies_parsed_at":"2024-10-30T21:41:12.180Z","dependency_job_id":null,"html_url":"https://github.com/sejas/playground-plugin-admin-notice","commit_stats":null,"previous_names":["sejas/playground-plugin-admin-notice"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejas%2Fplayground-plugin-admin-notice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejas%2Fplayground-plugin-admin-notice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejas%2Fplayground-plugin-admin-notice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sejas%2Fplayground-plugin-admin-notice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sejas","download_url":"https://codeload.github.com/sejas/playground-plugin-admin-notice/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245927204,"owners_count":20695188,"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","wordpress-playground","wordpress-plugin"],"created_at":"2024-10-08T23:22:05.006Z","updated_at":"2026-01-07T20:04:30.363Z","avatar_url":"https://github.com/sejas.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playground Plugin Admin Notice\n\nBasic example demonstrating how to display an admin notice inside the WordPress Playground.\n\nThis repository includes the [plugin source code](playground-plugin-admin-notice), the [plugin ZIP file](playground-plugin-admin-notice.zip), the default [blueprint.json](blueprint.json), and the [blueprint-override-message.json](blueprint-override-message.json) for overriding the default message.\n\n![Screenshot](screenshot.png)\n\n## How to use\n\nThis repository is designed for using the `raw` GitHub URLs to load both the plugin and the blueprint into the WordPress Playground.\n\n### WordPress Playground URLs\n\n- Loading the blueprint as URL fragment: [`https://playground.wordpress.net/#{\"landingPage\":\"/wp-admin/\",\"steps\":[{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"url\",\"url\":\"https://raw.githubusercontent.com/sejas/playground-plugin-admin-notice/main/playground-plugin-admin-notice.zip\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}`](https://playground.wordpress.net/#{\"landingPage\":\"/wp-admin/\",\"steps\":[{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"url\",\"url\":\"https://raw.githubusercontent.com/sejas/playground-plugin-admin-notice/main/playground-plugin-admin-notice.zip\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]})\n\n### Override notice message using site options\n\n- Display a custom message: [`https://playground.wordpress.net/#{\"landingPage\":\"/wp-admin/\",\"steps\":[{\"step\":\"setSiteOptions\",\"options\":{\"playground_admin_notice\":\"This is a custom message.\"}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"url\",\"url\":\"https://raw.githubusercontent.com/sejas/playground-plugin-admin-notice/main/playground-plugin-admin-notice.zip\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]}`](https://playground.wordpress.net/#{\"landingPage\":\"/wp-admin/\",\"steps\":[{\"step\":\"setSiteOptions\",\"options\":{\"playground_admin_notice\":\"This%20is%20a%20custom%20message.\"}},{\"step\":\"installPlugin\",\"pluginZipFile\":{\"resource\":\"url\",\"url\":\"https://raw.githubusercontent.com/sejas/playground-plugin-admin-notice/main/playground-plugin-admin-notice.zip\"}},{\"step\":\"login\",\"username\":\"admin\",\"password\":\"password\"}]})\n\n**Blueprint for displaying a custom message**\n\n```json\n{\n  \"landingPage\": \"/wp-admin/\",\n  \"steps\": [\n    {\n      \"step\": \"setSiteOptions\",\n      \"options\": {\n        \"playground_admin_notice\": \"This is a custom message.\"\n      }\n    },\n    {\n      \"step\": \"installPlugin\",\n      \"pluginZipFile\": {\n        \"resource\": \"url\",\n        \"url\": \"https://raw.githubusercontent.com/sejas/playground-plugin-admin-notice/main/playground-plugin-admin-notice.zip\"\n      }\n    },\n    {\n      \"step\": \"login\",\n      \"username\": \"admin\",\n      \"password\": \"password\"\n    }\n  ]\n}\n```\n\n### How to contribute\n\nPlease feel welcome to open an issue or submit a pull request if you have any suggestions for improvements or modifications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsejas%2Fplayground-plugin-admin-notice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsejas%2Fplayground-plugin-admin-notice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsejas%2Fplayground-plugin-admin-notice/lists"}