PluginProbe ʕ •ᴥ•ʔ
Pods – Custom Content Types and Fields / 3.0.10.5
Pods – Custom Content Types and Fields v3.0.10.5
2.7.31.4 2.8.23.5 2.9.19.5 3.0.10.5 3.1.4.3 3.2.8.4 3.3.9.2 2.8.23.4 2.9.19.4 3.0.10.4 3.1.4.2 3.2.8.3 3.3.9.1 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
WPGraphQL 1 week ago Enfold.php 1 week ago Genesis.php 1 week ago Jetpack.php 1 week ago Polylang.php 1 week ago Service_Provider.php 1 week ago WPML.php 1 week ago YARPP.php 1 week 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