Download the PHP package stevegrunwell/wp-admin-tabbed-settings-pages without Composer

On this page you can find all versions of the php package stevegrunwell/wp-admin-tabbed-settings-pages. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wp-admin-tabbed-settings-pages

WP-Admin Tabbed Settings Pages (Polyfill)

Build Status WordPress Trac #51086

This package contains a polyfill for WordPress Core Trac ticket #51086, wherein a standard for tabbed settings pages within WP-Admin has been proposed.

The proposal centers around a new function as part of the Settings API: do_tabbed_settings_sections(), which is identical to do_settings_sections() except that each section is rendered in a separate tab.

As a bonus, the included script respects the URL hash, enabling browser history for tabs as well as the ability to link directly to specific tabs!

Best of all, you don't have to wait for WordPress Core to accept the change to start using it today, as this package contains the same code (and is maintained by the person who submitted the Trac ticket). This version of the code is even designed to step aside if it detects the function within WordPress core sometime in the future!

Installation

To run this polyfill as a stand-alone WordPress plugin, [grab the latest zip file]() and install it as you would any other WordPress plugin.

If you'd rather bundle this as a dependency in another plugin, you may load it via Composer:

It's worth noting that the composer.json does not include the plugin bootstrap file in the autoloader, so it's necessary to explicitly require this file after WordPress has been loaded (such as when your plugin is loading):

Usage

As long as you're leveraging the WordPress Settings API, the only change necessary is replacing your call to do_settings_sections($page) with do_tabbed_settings_sections($page).

For an example of how this might look, please see the WP-Admin Tabbed Settings Pages demo plugin attached to the Trac ticket.


All versions of wp-admin-tabbed-settings-pages with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package stevegrunwell/wp-admin-tabbed-settings-pages contains the following files

Loading the files please wait ....