CFS Network Support WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
:electric_plug: [STAND-ALONE][Plugin] A Custom Field Suite add-on that adds an ability to support Network (Multisite environment).
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/devaloka/cfs-network-support/archive/refs/heads/master.zipOn Packagist as devaloka/cfs-network-support:
composer require devaloka/cfs-network-supportA Custom Field Suite add-on plugin that adds an ability to support Network (Multisite environment).
Installation
Manual Installation
- Just copy all files into
<ABSPATH>wp-content/plugins/cfs-network-support/.
Manual Installation (as a Must-Use plugin)
-
Just copy all files into
<ABSPATH>wp-content/mu-plugins/cfs-network-support/. -
Move
cfs-network-support/loader/50-cfs-network-support-loader.phpinto<ABSPATH>wp-content/mu-plugins/.
Installation via Composer
-
Install via Composer.
composer require devaloka/cfs-network-support
Installation via Composer (as a Must-Use plugin)
-
Install via Composer.
composer require devaloka/cfs-network-support -
Move
cfs-network-supportdirectory into<ABSPATH>wp-content/mu-plugins/. -
Move
cfs-network-support/loader/50-cfs-network-support-loader.phpinto<ABSPATH>wp-content/mu-plugins/.
Usage
Just pass Site ID with site_id key to CFS API options.
Get field value(s)
echo CFS()->get('first_name', false, ['site_id' => 1]);
See also get - Custom Field Suite.
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.
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.
Releases
4 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.