Download the PHP package cmatosbc/oopress-menus without Composer
On this page you can find all versions of the php package cmatosbc/oopress-menus. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cmatosbc/oopress-menus
More information about cmatosbc/oopress-menus
Files in cmatosbc/oopress-menus
Download cmatosbc/oopress-menus
More information about cmatosbc/oopress-menus
Files in cmatosbc/oopress-menus
Vendor cmatosbc
Package oopress-menus
Short Description Menus OOP structures and better iterators.
License gpl-3.0-or-later
Package oopress-menus
Short Description Menus OOP structures and better iterators.
License gpl-3.0-or-later
Please rate this library. Is it a good library?
Informations about the package oopress-menus
Oopress Menus
Retrieve WP menus as pure data, as array or JSON. Also allows the data to be passed to a particular template in Wordpress.
Usage
Usage is pretty simple. You need to instantiate the class with the menu ID or slug, then use the method fetch() to access the data. Further, the method getItems() may return the structured menu data as array or JSON (using true). Finally, the method render() passes the menu data through a template part, rendering it (in the template, the menu data can be accessed from $args['data']).
All versions of oopress-menus with dependencies
PHP Build Version
Package Version
Requires
psr/simple-cache Version
^3.0
The package cmatosbc/oopress-menus contains the following files
Loading the files please wait ....