{"id":26556696,"url":"https://github.com/mimosafa/wp-theme-exchanger","last_synced_at":"2026-05-06T12:34:18.627Z","repository":{"id":62529024,"uuid":"156869293","full_name":"mimosafa/wp-theme-exchanger","owner":"mimosafa","description":"Simple WordPress theme exchanger","archived":false,"fork":false,"pushed_at":"2018-11-24T15:03:49.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-16T00:49:34.699Z","etag":null,"topics":["development","theme","themes","wordpress"],"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/mimosafa.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}},"created_at":"2018-11-09T13:58:27.000Z","updated_at":"2018-11-24T15:03:51.000Z","dependencies_parsed_at":"2022-11-02T14:30:23.704Z","dependency_job_id":null,"html_url":"https://github.com/mimosafa/wp-theme-exchanger","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimosafa%2Fwp-theme-exchanger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimosafa%2Fwp-theme-exchanger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimosafa%2Fwp-theme-exchanger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mimosafa%2Fwp-theme-exchanger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mimosafa","download_url":"https://codeload.github.com/mimosafa/wp-theme-exchanger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244947849,"owners_count":20536712,"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":["development","theme","themes","wordpress"],"created_at":"2025-03-22T11:25:06.313Z","updated_at":"2026-05-06T12:34:13.608Z","avatar_url":"https://github.com/mimosafa.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WP Theme Exchanger\n\n[![Build Status](https://travis-ci.org/mimosafa/wp-theme-exchanger.svg?branch=master)](https://travis-ci.org/mimosafa/wp-theme-exchanger)\n\nSimple WordPress theme exchanger.\n\n## Installation\n\n```\ncomposer require mimosafa\\wp-theme-exchanger\n```\n\n## Example\n\nNote: This library will not work after the `setup_theme` action.\n\n```php\n\u003c?php\n\n// In your plugin file\n\nrequire_once( 'path/to/vendor/autoload.php' );\n\nadd_action( 'plugins_loaded', function() {\n\n    /**\n     * Theme slug\n     *\n     * @var string $extra_theme\n     */\n    $extra_theme = 'awesome-theme';\n    $exchanger = new WP_Theme_Exchanger\\Exchanger( $extra_theme );\n\n    if ( $_SERVER['REQUEST_URI'] === '/awesome' ) {\n        $exchanger-\u003eon();\n    }\n\n} );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimosafa%2Fwp-theme-exchanger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmimosafa%2Fwp-theme-exchanger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmimosafa%2Fwp-theme-exchanger/lists"}