Constructor.
Parameters
$post_type
stringrequired- Post type to register fields for.
Source
public function __construct( $post_type ) {
$this->post_type = $post_type;
}
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
Constructor.
$post_type
stringrequiredpublic function __construct( $post_type ) {
$this->post_type = $post_type;
}
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.