LLMS_Generator::set_default_post_status( string $status )
Configure the default post status for generated posts at runtime
Parameters Parameters
- $status
-
(string) (Required) Any valid WP Post Status.
Return Return
(void)
Source Source
File: includes/class.llms.generator.php
public function set_default_post_status( $status ) { call_user_func( array( $this->generator[0], 'set_default_post_status' ), $status ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
4.7.0 | Call set_default_post_status() from the configured generator. |
3.7.3 | Introduced. |