| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 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 : C:/Old Sites/robotics/wp-content/plugins/types/ |
Upload File : |
<?php /* Plugin Name: Toolset Types Plugin URI: http://wordpress.org/extend/plugins/types/ Description: Toolset Types defines custom content in WordPress. Easily create custom post types, fields and taxonomy and connect everything together. Author: OnTheGoSystems Author URI: http://www.onthegosystems.com Version: 2.2.8 License: GPLv2 or later Types is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or any later version. Types is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Types. If not, see http://www.gnu.org/licenses/gpl-2.0.html. */ // abort if called directly if( !function_exists( 'add_action' ) ) die( 'Types is a WordPress plugin and can not be called directly.' ); // version if( ! defined( 'TYPES_VERSION' ) ) define( 'TYPES_VERSION', '2.2.8' ); // backward compatibility if ( ! defined( 'WPCF_VERSION' ) ) define( 'WPCF_VERSION', TYPES_VERSION ); // release notes if( ! defined( 'TYPES_RELEASE_NOTES' ) ) // Mind the end of the URL string, it contains the plugin version. define( 'TYPES_RELEASE_NOTES', 'https://wp-types.com/version/types-2-2-8/?utm_source=typesplugin&utm_campaign=types&utm_medium=release-notes-admin-notice&utm_term=Types%202.2.8%20release%20notes' ); /* * Path Constants */ if( ! defined( 'TYPES_ABSPATH' ) ) define( 'TYPES_ABSPATH', dirname( __FILE__ ) ); if( ! defined( 'TYPES_RELPATH' ) ) define( 'TYPES_RELPATH', plugins_url() . '/' . basename( TYPES_ABSPATH ) ); if( ! defined( 'TYPES_DATA' ) ) define( 'TYPES_DATA', dirname( __FILE__ ) . '/application/data' ); /* * Bootstrap Types */ require_once( dirname( __FILE__ ) . '/application/bootstrap.php' ); // // Activation and deactivation hooks must be defined in the main file. // register_deactivation_hook( __FILE__, 'wpcf_deactivation_hook' ); register_activation_hook( __FILE__, 'wpcf_activation_hook' ); // adds "Leave feedback" link on plugins list page add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), 'types_plugin_action_links' );