This commit is contained in:
Django Doucet 2022-09-29 17:51:01 -06:00
parent 5d8e3a9ba9
commit 3db5fb2626

View file

@ -25,7 +25,7 @@ class Posts {
}
}
public static function get_posts( $args = null ) {
public static function get_posts() {
$post_types = \get_option( 'activitypub_support_post_types', array( 'post', 'page' ) );
$args = array(
'numberposts' => -1,