LLMS_Access_Plan::get_creation_args( string $title = '' )

Default arguments for creating a new post


Parameters Parameters

$title

(string) (Optional) Title to create the post with

Default value: ''


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/models/model.llms.access.plan.php

	protected function get_creation_args( $title = '' ) {

		return array_merge(
			parent::get_creation_args( $title ),
			array(
				'post_status' => 'publish',
			)
		);

	}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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