2017 © Pedro Peláez
 

library voce-post-meta-psu

Post Meta API Extension for Post Selection UI fields

image

voceconnect/voce-post-meta-psu

Post Meta API Extension for Post Selection UI fields

  • Friday, October 9, 2015
  • by kevinlangleyjr
  • Repository
  • 16 Watchers
  • 0 Stars
  • 9,708 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 13 Versions
  • 2 % Grown

The README.md

Voce Post Meta PSU

Contributors: kevinlangleyjr, voceplatforms
Tags: meta, psu, post, selection
Requires at least: 3.0
Tested up to: 4.3.1
Stable tag: 1.2.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html, (*1)

Description

Extend Voce Post Meta with post selection ui inputs, (*2)

Installation

As standard plugin:

See Installing Plugins., (*3)

As theme or plugin dependency:

After dropping the plugin into the containing theme or plugin, add the following:, (*4)

if( ! class_exists( 'Voce_Post_Meta_Post_Selection_UI' ) ) {
    require_once( $path_to_voce_post_meta_psu . '/voce-post-meta-psu.php' );
}

Usage

Example

<?php
add_action('init', function(){
    add_metadata_group( 'demo_meta', 'Page Options', array(
        'capability' => 'edit_posts'
    ));
    add_metadata_field( 'demo_meta', 'post_selection_ui_key', 'Title', 'psu', array(
        'post_type' => 'custom_post_type',
        'post_status' => 'publish',
        'limit' => 3
    ) );
    add_post_type_support( 'page', 'demo_meta' );
});
?>

1.3.0
*Better handling around autoload files when required by multiple project dependencies, (*5)

1.2.0
Separate sanitize callback into its own method insetad of anonymous function. Adding better sanitization of post selection UI value., (*6)

1.1.1
Updated composer.json to require VPM ~1.6 instead of ~1.6.0, (*7)

1.1.0
Now returns null for sanitize callback if the $new_value is empty, (*8)

1.0.0
Initial version., (*9)

The Versions

09/10 2015

dev-master

9999999-dev

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

09/10 2015

1.3.1

1.3.1.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

09/10 2015

1.3.0

1.3.0.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

17/11 2014

1.2.0

1.2.0.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

14/11 2014

dev-ver_2

dev-ver_2

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

10/11 2014

1.1.1

1.1.1.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

02/09 2014

1.1.0

1.1.0.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

03/06 2014

1.0.5

1.0.5.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

08/04 2014

1.0.4

1.0.4.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

03/01 2014

v1.0.3

1.0.3.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

02/01 2014

v1.0.2

1.0.2.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

The Requires

 

by Kevin Langley Jr

wordpress post meta

11/12 2013

v1.0.1

1.0.1.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

by Kevin Langley Jr

wordpress post meta

05/11 2013

v1.0.0

1.0.0.0

Post Meta API Extension for Post Selection UI fields

  Sources   Download

GPLv2+

by Kevin Langley Jr

wordpress post meta