WP_Menu: Add menu or submenu page in WordPress




Geniuswp show

Summary: Versión en españolAdd menu or submenu page in WordPress.InstallationRequirementsQuick Start and ExamplesAvailable MethodsUsageAction HooksTestsTODOContributeRepositoryLicenseCopyrightInstallationThe preferred way to install this extension is through composer.To install PHP Wordpress Menu library, simply:$ composer require Josantonius/WP_MenuThe previous command will only install the necessary files, if you prefer to download the entire source code (including tests, vendor folder, exceptions not used, docs...) you can use:$ composer require Josantonius/WP_Menu --prefer-sourceOr you can also clone the complete repository with Git:$ git clone https://github.com/Josantonius/WP_Menu.gitRequirementsThis library is supported by PHP versions 5.6 or higher and is compatible with HHVM versions 3.0 or higher.To use this library in HHVM (HipHop Virtual Machine) you will have to activate the scalar types. Add the following line "hhvm.php7.scalar_types = true" in your "/etc/hhvm/php.ini".Quick Start and ExamplesTo use this class, simply: