| Server IP : 216.238.66.20 / Your IP : 216.73.217.142 Web Server : nginx/1.30.4 System : Linux woropds 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : root ( 0) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/sweetheart.mx/htdocs/wp-content/plugins/pods/src/Pods/Integrations/ |
Upload File : |
<?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;
}
}