PHP code example of kunoichi / virtual-member
1. Go to this page and download the library: Download kunoichi/virtual-member library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kunoichi / virtual-member example snippets
// Example code to display all authors of a post
$public_screen = \Kunoichi\VirtualMember\Ui\PublicScreen::get_instance();
$members = $public_screen->get_members(get_the_ID());
foreach ($members as $member) {
echo get_the_title($member);
// Display other member information
}