{"id":23530342,"url":"https://github.com/wpessential/wpessential-menus","last_synced_at":"2026-02-18T15:01:58.826Z","repository":{"id":252101977,"uuid":"839394683","full_name":"wpessential/wpessential-menus","owner":"wpessential","description":"WPEssential Menues helping the menus registry in WordPress.","archived":false,"fork":false,"pushed_at":"2025-03-19T13:59:36.000Z","size":21,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T17:11:42.968Z","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/wpessential.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-07T14:17:36.000Z","updated_at":"2025-03-19T13:58:20.000Z","dependencies_parsed_at":"2025-01-01T22:26:10.717Z","dependency_job_id":"07b3e749-5172-4a75-afbe-a587b123b018","html_url":"https://github.com/wpessential/wpessential-menus","commit_stats":null,"previous_names":["wpessential/wpessential-menus"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-menus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-menus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-menus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpessential%2Fwpessential-menus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpessential","download_url":"https://codeload.github.com/wpessential/wpessential-menus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250286064,"owners_count":21405356,"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":[],"created_at":"2024-12-25T21:16:40.418Z","updated_at":"2026-02-18T15:01:58.819Z","avatar_url":"https://github.com/wpessential.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WPEssential Menus\nHelp to register the menus in WordPress.\n\n`composer require wpessential/wpessential-menus`\n\nAdd the single menu to WordPress registry\n\n```php\n$menu = \\WPEssential\\Library\\Menus::make();\n$menu-\u003eadd([\n    'id'\t=\u003e 'primary_menu',\n    'name'\t=\u003e esc_html__( 'Primary Menu', 'wpessential' ),\n]);\n$menu-\u003einit();\n```\n\nAdd the multiple menus to WordPress registry\n\n```php\n$menu = \\WPEssential\\Library\\Menus::make();\n$menu-\u003eadds([\n    'primary_menu' =\u003e esc_html__( 'Primary Menu', 'wpessential' ),\n    'footer_menu'  =\u003e esc_html__( 'Footer Menu', 'wpessential' ),\n]);\n$menu-\u003einit();\n```\n\nRemove the single menu from WordPress registry\n\n```php\n$menu = \\WPEssential\\Library\\Menus::make();\n$menu-\u003eremove('primary_menu');\n$menu-\u003einit();\n```\n\nRemove the multiple menus from WordPress registry\n\n```php\n$menu = \\WPEssential\\Library\\Menus::make();\n$menu-\u003eremoves(['primary_menu']);\n$menu-\u003einit();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpessential%2Fwpessential-menus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpessential%2Fwpessential-menus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpessential%2Fwpessential-menus/lists"}