| Server IP : 195.130.67.5 / Your IP : 216.73.217.127 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Old Sites/robotics/wp-content/plugins/types/application/controllers/ |
Upload File : |
<?php
/**
* Embedded controller.
*
* @since 2.0
*/
final class Types_Embedded {
private function __construct() {
// disable pages
add_filter( 'types_register_pages', '__return_false' );
// disable information table
add_filter( 'types_information_table', '__return_false' );
}
private function __clone() { }
public static function initialize() {
if( file_exists( TYPES_ABSPATH . '/embedded.lock' )
|| ( defined( 'TYPES_EMBEDDED') && TYPES_EMBEDDED === true )
) {
new self();
}
}
}