Server IP : 172.67.157.199 / Your IP : 18.191.44.188 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/insert-headers-and-footers/includes/ |
Upload File : |
<?php /** * Pluggable functions for WPCode. * * @package WPCode * @since 2.1.9 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'wpcode_get_snippet' ) ) { /** * Load a snippet by id, WP_Post or array. * * @param array|int|WP_Post $snippet Load a snippet by id, WP_Post or array. * * @return WPCode_Snippet */ function wpcode_get_snippet( $snippet ) { return new WPCode_Snippet( $snippet ); } } if ( ! function_exists( 'wpcode_get_post_type' ) ) { /** * Get the post type we use for snippets. * * @return string */ function wpcode_get_post_type() { return 'wpcode'; } }