Class Sensei_Shortcode_Teachers
Renders the [sensei_teachers] shortcode. Will show a list of teachers with links to their archives page.
This class is loaded int WP by the shortcode loader class.
For the teacher include and excludes you can specify user-names or ids
- Sensei_Shortcode_Teachers implements Sensei_Shortcode_Interface
Package: Content\Shortcode
Author: Automattic
Since: 1.9.0
Class: Sensei_Shortcode_Teachers
Located at includes/shortcodes/class-sensei-shortcode-teachers.php
Author: Automattic
Since: 1.9.0
Class: Sensei_Shortcode_Teachers
Located at includes/shortcodes/class-sensei-shortcode-teachers.php
public
mixed
|
|
protected
|
|
public
string
|
|
public
array
|
|
public
array
|
|
public
array
|
#
convert_usernames_to_ids( array $users )
Convert mixed array of user id and user names to only be an array of user_ids |
public
string
|
|
public
array
|
|
public
integer
|
protected
WP_User_Query
|
$user_query
keeps a reference to the user query created |
|
protected
which
|
$include
user id's to include |
|
protected
which
|
$exclude
user id's to exclude |