{"id":25942139,"url":"https://github.com/neonarray/wp-notion-link","last_synced_at":"2025-10-10T05:39:12.376Z","repository":{"id":279690565,"uuid":"939621776","full_name":"NeonArray/wp-notion-link","owner":"NeonArray","description":"Adds a link to a corresponding Notion page for each plugin that is assigned.","archived":false,"fork":false,"pushed_at":"2025-02-27T18:33:52.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-16T11:43:20.582Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeonArray.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":"2025-02-26T20:47:41.000Z","updated_at":"2025-02-27T18:33:56.000Z","dependencies_parsed_at":"2025-02-26T22:24:56.838Z","dependency_job_id":"f072ff28-c173-4b09-8304-637cefb23565","html_url":"https://github.com/NeonArray/wp-notion-link","commit_stats":null,"previous_names":["neonarray/wp-notion-link"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NeonArray/wp-notion-link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeonArray%2Fwp-notion-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeonArray%2Fwp-notion-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeonArray%2Fwp-notion-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeonArray%2Fwp-notion-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeonArray","download_url":"https://codeload.github.com/NeonArray/wp-notion-link/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeonArray%2Fwp-notion-link/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002891,"owners_count":26083468,"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-10-10T02:00:06.843Z","response_time":62,"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":"2025-03-04T06:17:28.884Z","updated_at":"2025-10-10T05:39:12.342Z","avatar_url":"https://github.com/NeonArray.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NotionLink\n\nThis plugin adds a Notion icon next to every plugin on the plugins page that is registered so that a user can quickly\nand easily view any documentation on said plugin in Notion.\n\nThis plugin is designed to read data from a remote server so that the plugin can be used across multiple websites while\nstill pointing back to the same centralized pages. This JSON document simply contains a list of plugins with the\ncorresponding Notion page URL's.\n\n\n## Configuration\n\nTo set the remote URL for the JSON, simply add a constant in your `functions.php` or `wp-config.php` file.\n\n```php\ndefine( 'NOTIONLINK_ENDPOINT', 'https://someurl.com/data.json' );\n```\n\n\n## The Data\n\nThe plugin expects a JSON structure like the following:\n\n```JSON\n[\n    {\n        \"plugin\": \"advanced-custom-fields-pro/acf.php\",\n        \"url\": \"https://www.notion.so/link/to/the/page\"\n    }\n]\n```\n\nThe `plugin` property should be a qualified name of the plugin, not just the entrypoint file.\n\n\n## Hooks\n\nThere are a few hooks available.\n\n| Hook | Description |\n|------|-------------|\n| `notionlink_plugin_data`          | The raw data before it is cached. Data being the array of plugins and notion links, fetched from the web. |\n| `notionlink_notion_icon`          | The svg icon. |\n| `notionlink_link_html`            | The anchor and icon, right before it gets set to the plugin metadata. |\n| `notionlink_remote_request_args`  | Add any args for the remote request, such as headers or tokens. |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneonarray%2Fwp-notion-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneonarray%2Fwp-notion-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneonarray%2Fwp-notion-link/lists"}