Function ssi_fetchPosts
Fetches one or more posts by ID.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at SSI.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at SSI.php
array |
$post_ids = array() |
An array containing the IDs of the posts to show |
boolean |
$override_permissions = false |
Whether to ignore permissions. If true, will show posts even if the user doesn't have permission to see them. |
string |
$output_method = 'echo' |
The output method. If 'echo', displays the posts, otherwise returns an array of info about them |
|array
|
Displays the specified posts or returns an array of info about them, depending on output_method. |