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: ''
Return Return
(array)
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',
)
);
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |