haxorqt
Home
Console
Upload
information
Create File
Create Folder
About
:
/
home
/
sc1jaqa5103
/
prod.puv-editions.fr
/
wp-content
/
plugins
/
pods
/
src
/
Pods
/
Integrations
/
Filename :
YARPP.php
back
Copy
<?php namespace Pods\Integrations; // Don't load directly. if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } /** * Class YARPP * * @since 2.8.0 */ class YARPP { /** * Add additional supports options for post types. * * @since 2.8.0 * * @param array $supports List of supports options for post types. * * @return array List of supports options for post types. */ public function add_post_type_supports( array $supports ) { if ( ! defined( 'YARPP_VERSION' ) ) { return $supports; } $supports['supports_yarpp_support'] = [ 'name' => 'supports_yarpp_support', 'label' => __( 'YARPP Support', 'pods' ), 'type' => 'boolean', ]; return $supports; } }