{"id":26931749,"url":"https://github.com/truongwp/customize-editor-control","last_synced_at":"2025-04-02T07:18:51.931Z","repository":{"id":279319648,"uuid":"102977041","full_name":"truongwp/customize-editor-control","owner":"truongwp","description":"Add WordPress editor control to Customize.","archived":false,"fork":false,"pushed_at":"2017-09-11T02:26:55.000Z","size":50,"stargazers_count":5,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-25T00:38:39.973Z","etag":null,"topics":["customize","customizer","editor","wordpress","wysiwyg"],"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/truongwp.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":"2017-09-09T18:38:58.000Z","updated_at":"2022-10-08T12:56:11.000Z","dependencies_parsed_at":"2025-02-25T00:38:43.034Z","dependency_job_id":"1b20e100-f18d-442b-97ef-01b7f37774fc","html_url":"https://github.com/truongwp/customize-editor-control","commit_stats":null,"previous_names":["truongwp/customize-editor-control"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truongwp%2Fcustomize-editor-control","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truongwp%2Fcustomize-editor-control/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truongwp%2Fcustomize-editor-control/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/truongwp%2Fcustomize-editor-control/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/truongwp","download_url":"https://codeload.github.com/truongwp/customize-editor-control/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246769868,"owners_count":20830771,"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":["customize","customizer","editor","wordpress","wysiwyg"],"created_at":"2025-04-02T07:18:51.357Z","updated_at":"2025-04-02T07:18:51.912Z","avatar_url":"https://github.com/truongwp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Customize Editor Control\n\nThis plugin provides WordPress editor (WYSIWYG) to Customize. It's easy to use like core controls and works well in both `refresh` and `postMessage` transport.\n\n## Usage\n\nAdd this code to your `functions.php` file:\n\n```php\nfunction themeslug_customize_register( $wp_customize ) {\n\t$wp_customize-\u003eadd_setting( 'example', array(\n\t\t'transport' =\u003e 'postMessage',\n\t\t'default' =\u003e 'Lotem ipsum',\n\t) );\n\n\t$wp_customize-\u003eadd_control( new WP_Customize_Editor_Control( $wp_customize, 'example', array(\n\t\t'label' =\u003e __( 'Example editor', 'textdomain' ),\n\t\t'section' =\u003e 'title_tagline',\n\t\t'editor_settings' =\u003e array(\n\t\t\t'quicktags' =\u003e true,\n\t\t\t'tinymce'   =\u003e true,\n\t\t),\n\t) ) );\n}\nadd_action( 'customize_register', 'themeslug_customize_register' );\n```\n\nMore about WordPress Customize, read [Customize handbook](https://developer.wordpress.org/themes/customize-api/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruongwp%2Fcustomize-editor-control","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftruongwp%2Fcustomize-editor-control","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftruongwp%2Fcustomize-editor-control/lists"}