LLMS_Generator::set_default_post_status( string $status )

Configure the default post status for generated posts at runtime

Parameters Parameters


(string) (Required) Any valid WP Post Status.

Top ↑

Return Return


Top ↑

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 );

Top ↑

Changelog Changelog

Version Description
4.7.0 Call set_default_post_status() from the configured generator.
3.7.3 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.