Constructor.
Parameters
$post_typestringrequired- 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_typestringrequiredpublic 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.