<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\WP; if (!defined('ABSPATH')) exit; use MailPoet\WP\Functions as WPFunctions; class Posts { public static function getTypes($args = [], $output = 'names', $operator = 'and') { $defaults = [ 'exclude_from_search' => false, ]; $args = array_merge($defaults, $args); return WPFunctions::get()->getPostTypes($args, $output, $operator); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
AutocompletePostListLoader.php | File | 3.28 KB | 0644 |
|
DateTime.php | File | 2.72 KB | 0644 |
|
Emoji.php | File | 2.65 KB | 0644 |
|
Functions.php | File | 26.8 KB | 0644 |
|
Notice.php | File | 2.87 KB | 0644 |
|
Posts.php | File | 485 B | 0644 |
|
Readme.php | File | 1.19 KB | 0644 |
|
index.php | File | 6 B | 0644 |
|