{"id":23774567,"url":"https://github.com/wpup/features","last_synced_at":"2026-05-18T17:01:28.563Z","repository":{"id":62548156,"uuid":"130887978","full_name":"wpup/features","owner":"wpup","description":"WordPress setting page for feature flagging interface/implementation","archived":false,"fork":false,"pushed_at":"2019-12-02T14:21:23.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T06:15:48.521Z","etag":null,"topics":["features","plugin","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wpup.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}},"created_at":"2018-04-24T17:07:11.000Z","updated_at":"2019-12-02T14:21:25.000Z","dependencies_parsed_at":"2022-11-02T23:15:20.840Z","dependency_job_id":null,"html_url":"https://github.com/wpup/features","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Ffeatures","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Ffeatures/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Ffeatures/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wpup%2Ffeatures/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wpup","download_url":"https://codeload.github.com/wpup/features/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964511,"owners_count":19725952,"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":["features","plugin","wordpress"],"created_at":"2025-01-01T06:15:48.550Z","updated_at":"2026-05-18T17:01:23.509Z","avatar_url":"https://github.com/wpup.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Features\n\n[![Build Status](https://travis-ci.org/wpup/features.svg?branch=master)](https://travis-ci.org/wpup/features)\n[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/)\n\nWordPress setting page for [php-features](https://github.com/frozzare/php-features). That package is installed when using this plugin so no need to install it yourself.\n\n## Install\n\n```\ncomposer require wpup/features\n```\n\n## Usage\n\nFirst read [php-features](https://github.com/frozzare/php-features) readme file to know how that package works.\n\nExample:\n\n```php\nfeatures( [\n    'log'      =\u003e false,\n    'checkout' =\u003e true\n] );\n```\n\nBest practice is the set features before WordPress are loaded, e.g config files.\n\n## Filters\n\nAdd custom to description to features setting page:\n\n```php\nadd_filter( 'features_description', function () {\n    return 'my custom description';\n} );\n```\n\nNo HTML is allowed since the description is escaped.\n\nAdd custom labels to admin instead of feature keys:\n\n```php\nadd_filter( 'features_labels', function () {\n    return [\n        'log' =\u003e 'Log'\n    ];\n} );\n```\n\nChange admin menu capability:\n\n```php\nadd_filter( 'features_capability', function () {\n    return 'custom-cap';\n} );\n```\n\n## License\n\nMIT © [Fredrik Forsmo](https://github.com/frozzare)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpup%2Ffeatures","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwpup%2Ffeatures","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwpup%2Ffeatures/lists"}