PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.2.7
Pods – Custom Content Types and Fields v3.2.7
trunk 1.14.8 2.7.31.3 2.8.23.3 2.9.19.3 3.0.10.3 3.1.4.1 3.2.0 3.2.1 3.2.1.1 3.2.2 3.2.4 3.2.5 3.2.6 3.2.7 3.2.7.1 3.2.8 3.2.8.1 3.2.8.2 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 3.3.9
pods / src / Pods / Integrations / YARPP.php
pods / src / Pods / Integrations Last commit date
Query_Monitor 1 year ago WPGraphQL 3 years ago Enfold.php 1 year ago Genesis.php 4 years ago Jetpack.php 4 years ago Polylang.php 1 year ago Query_Monitor.php 1 year ago Service_Provider.php 1 year ago WPML.php 1 year ago YARPP.php 4 years ago
YARPP.php
35 lines
1 <?php
2
3 namespace Pods\Integrations;
4
5 /**
6 * Class YARPP
7 *
8 * @since 2.8.0
9 */
10 class YARPP {
11
12 /**
13 * Add additional supports options for post types.
14 *
15 * @since 2.8.0
16 *
17 * @param array $supports List of supports options for post types.
18 *
19 * @return array List of supports options for post types.
20 */
21 public function add_post_type_supports( array $supports ) {
22 if ( ! defined( 'YARPP_VERSION' ) ) {
23 return $supports;
24 }
25
26 $supports['supports_yarpp_support'] = [
27 'name' => 'supports_yarpp_support',
28 'label' => __( 'YARPP Support', 'pods' ),
29 'type' => 'boolean',
30 ];
31
32 return $supports;
33 }
34 }
35