2017 © Pedro Peláez
 

wordpress-plugin cfs-network-support

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)

image

devaloka/cfs-network-support

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

CFS Network Support

Latest Stable Version Latest Unstable Version License ![Build Status][travis-image], (*1)

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)., (*2)

Installation

Manual Installation

  1. Just copy all files into <ABSPATH>wp-content/plugins/cfs-network-support/.

Manual Installation (as a Must-Use plugin)

  1. Just copy all files into <ABSPATH>wp-content/mu-plugins/cfs-network-support/., (*3)

  2. Move cfs-network-support/loader/50-cfs-network-support-loader.php into <ABSPATH>wp-content/mu-plugins/., (*4)

Installation via Composer

  1. Install via Composer., (*5)

    composer require devaloka/cfs-network-support
    

Installation via Composer (as a Must-Use plugin)

  1. Install via Composer., (*6)

    composer require devaloka/cfs-network-support
    
  2. Move cfs-network-support directory into <ABSPATH>wp-content/mu-plugins/., (*7)

  3. Move cfs-network-support/loader/50-cfs-network-support-loader.php into <ABSPATH>wp-content/mu-plugins/., (*8)

Usage

Just pass Site ID with site_id key to CFS API options., (*9)

Get field value(s)

echo CFS()->get('first_name', false, ['site_id' => 1]);

See also get - Custom Field Suite., (*10)

Save field value(s)

$field_data = ['first_name' => 'Matt'];
$post_data  = ['ID' => 678];

CFS()->save($field_data, $post_data, ['site_id' => 1]);

See also save - Custom Field Suite., (*11)

Get reverse-related Posts

$related_ids = CFS()->get_reverse_related($post->ID, [
    'field_name' => 'related_events',
    'post_type'  => 'news',
    'site_id'    => 1,    
]);

See also get_reverse_related - Custom Field Suite., (*12)

The Versions

12/06 2017

dev-master

9999999-dev https://github.com/devaloka/cfs-network-support

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)

  Sources   Download

GPL-3.0 GPL-2.0

The Requires

 

The Development Requires

plugin wordpress multisite network cfs custom field

17/07 2016

v0.3.0

0.3.0.0 https://github.com/devaloka/cfs-network-support

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)

  Sources   Download

GPL-3.0 GPL-2.0

The Requires

 

The Development Requires

plugin wordpress multisite network cfs custom field

31/03 2016

v0.2.0

0.2.0.0 https://github.com/devaloka/cfs-network-support

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)

  Sources   Download

GPL-3.0 GPL-2.0

The Requires

 

The Development Requires

plugin wordpress multisite network cfs custom field

18/03 2016

v0.1.1

0.1.1.0 https://github.com/devaloka/cfs-network-support

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)

  Sources   Download

GPL-3.0 GPL-2.0

The Requires

 

The Development Requires

plugin wordpress multisite network cfs custom field

31/01 2016

v0.1.0

0.1.0.0 https://github.com/devaloka/cfs-network-support

A Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment)

  Sources   Download

GPL-3.0 GPL-2.0

The Requires

 

The Development Requires

plugin wordpress multisite network cfs custom field