2017 © Pedro Peláez
 

library wputils

WP Utilities

image

f1code/wputils

WP Utilities

  • Thursday, December 17, 2015
  • by f1code
  • Repository
  • 2 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 7 % Grown

The README.md

F1 Core

Collection of utilities for Wordpress and PHP., (*1)

Installation

  • Install with composer
  • Or, copy to the Wordpress plugins folder, add the autoload declaration to composer.json, and do composer dump-autoload

There is no need to activate the plugin since composer will handle the loading., (*2)

Using in a public release plugin

For a public release plugin the utilities should probably be copied manually, moving them to a local namespace., (*3)

WP Utilities

AdminPageHelper

Helper class for managing a plugin options (either network or site level)., (*4)

General flow:, (*5)

  • Create the admin page helper in the Wordpress wp_loaded hook
  • Use "addSetting" to register a new setting, passing either a bundled renderer or a custom one

The Versions

17/12 2015

dev-master

9999999-dev

WP Utilities

  Sources   Download

GPLv2

The Requires

  • php >=5.3.0