{"id":13810305,"url":"https://github.com/rogerlos/cmb2-metatabs-options","last_synced_at":"2026-01-11T07:44:35.632Z","repository":{"id":50217149,"uuid":"50385922","full_name":"rogerlos/cmb2-metatabs-options","owner":"rogerlos","description":"Extends CMB2 to allow WordPress options pages with multiple metaboxes and optional tabs.","archived":false,"fork":false,"pushed_at":"2021-06-01T19:26:16.000Z","size":69,"stargazers_count":47,"open_issues_count":4,"forks_count":11,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-05-04T08:46:51.560Z","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/rogerlos.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":"2016-01-25T22:34:25.000Z","updated_at":"2024-10-10T05:31:58.000Z","dependencies_parsed_at":"2022-09-24T08:40:52.930Z","dependency_job_id":null,"html_url":"https://github.com/rogerlos/cmb2-metatabs-options","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerlos%2Fcmb2-metatabs-options","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerlos%2Fcmb2-metatabs-options/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerlos%2Fcmb2-metatabs-options/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerlos%2Fcmb2-metatabs-options/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogerlos","download_url":"https://codeload.github.com/rogerlos/cmb2-metatabs-options/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254121085,"owners_count":22018102,"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-08-04T02:00:50.177Z","updated_at":"2026-01-11T07:44:35.579Z","avatar_url":"https://github.com/rogerlos.png","language":"PHP","funding_links":[],"categories":["WordPress Plugins"],"sub_categories":[],"readme":"# CMB2 Metatabs Options\n\nContributors: @rogerlos, @rubengc\n\nTags: cmb2, metaboxes, forms, fields, options, settings, tabs, cmo\n\nRequires at least: 3.8.0\n\nTested up to: 4.8\n\nStable tag: 1.3\n\nLicense: GPLv2 or later\n\nLicense URI: http://www.gnu.org/licenses/gpl-2.0.html\n\n\nExtends CMB2--create WordPress options pages with multiple metaboxes,\nsupport for tabs, and flexible menu locations.\n\n# Description\n\nCMB2 Metatabs Options (CMO) is a plugin (or class) for developers using CMB2 to manage metaboxes and fields.\nCMO makes it easy to create options pages with multiple metaboxes--and optional WordPress admin tabs.\nYou can attach your option page(s) to any existing Wordpress menu or add them as a new\ntop-level menu. You can also add multiple options pages!\n\nThis plugin requires the [CMB2 Plugin](http://wordpress.org/plugins/cmb2/), or your project\nmust already utilize the [CMB2](https://github.com/WebDevStudios/CMB2) library. CMB2 is *not* included.\n\nPlease see the wiki at CMO's github repository for a\n[detailed user's guide](https://github.com/rogerlos/cmb2-metatabs-options/wiki).\n\nThanks to the folks maintaining CMB2 for their continued development, and providing the\nstarting point for this plugin.\n\n# Installation (as WP plugin)\n\nDownload the plugin zip file and add via Plugins-\u003eAdd New-\u003eUpload. Or FTP the unzipped plugin folder to\nyour wp_content/plugins directory. Activate the plugin within WP admin.\n\nNote this plugin does nothing by default other than give you access to the Cmb2_Metatabs_Options() class.\n\nYou can see an example of what this plugin does by using the WP plugin editor and uncommenting the line\nin the main plugin file which reads \"include 'example.php';\".\n\n# Installation (as stand-alone class)\n\nCopy the files within the code directory to your project and include the class file in your code. If you\nchange the location of the JS file, you must inject 'jsuri' with its new URL into the class when creating \nan options page.\n\n# Changelog\n\n= 1.3 =\n* Added \"Reset Options\" button. Thanks @rubengc\n\n= 1.2 =\n* Added test to see if autoloader has already been loaded. Thanks: @rubengc\n* Added menu argument 'view_capability' to set page viewing capability. Idea: @Julianoe\n* Added argument 'plugincss': disables plugin css, still allows custom CSS via 'admincss'. Idea: @jquimera\n* Added wp box nonces to options page form. Bug report:  @Jekyll4k, @Kaleidosko\n\n= 1.1.2 =\n* Changed way empty string was passed in before- and after-form filters, now supports cumulative filtering\n\n= 1.1.1 =\n* Added 'admincss' parameter to turn off (false) or inject your own css (string) into admin page\n* Added 'class' to allow class(es) to be added to the WordPress admin page wrapper\n* Code cleanup to WordPress standards\n\n= 1.1.0 =\n* Oops: Class now works when adding multiple options pages\n* New: add options page(s) to multisite network menus\n* New: argument parameters to turn off calls to CMB2_Box::get_all() and make registering the option optional\n* New: page load actions can now be passed into the contructor\n* Improved: 'boxes' array may now contain either/mixed CMB2 box objects / CMB2 box ids\n* Improved: Less reliance on options key to trigger internal events\n* Improved: Tighter checks for when to load plugin JS and CSS\n* Improved: before and after filters now pass page id as second argument (useful for multiple pages)\n* Bug fix: Submenu page added with same slug as parent works as WP gods intended\n* Bug fix: Wrong parameter passed to localized JS fixed\n* Note: Extensive use of closures requires PHP \u003e= 5.3\n\n= 1.0.3 =\n* Added composer.json -- thanks misfist \n* Changed should_save() method to static -- thanks chrisgherbert\n\n= 1.0.2 =\n* Revised the menu building method and injected properties to be clearer and more dependable -- thanks ajuliano\n* Added multidimensional argument parsing method\n\n= 1.0.1 =\n* code refactoring and comment revisions\n\n= 1.0.0 =\n* Initial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerlos%2Fcmb2-metatabs-options","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogerlos%2Fcmb2-metatabs-options","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerlos%2Fcmb2-metatabs-options/lists"}