Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /var/www/html/wp-content/plugins.off/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'; } }