VOOZH about

URL: https://wordpress.org/support/topic/is-this-plugin-abandoned-129/

⇱ Is this plugin abandoned? | WordPress.org


Forums

Skip to content

Forums / Plugin: Custom Product Tabs for WooCommerce / Is this plugin abandoned?

  • 👁 Image
    lorenzobrandimarte

    (@lorenzobrandimarte)


    3 months ago

    Hello,

    I noticed that this plugin hasn’t received updates from 12 months and I couldn’t find much recent activity from the developers.

    Is it still actively maintained, or has it been abandoned? I’d like to understand whether it’s safe to keep using it in a production environment.

    My website got hacked and the only plugin that feels not safe is this.

    Let me know please.
    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 👁 Image
    carmpocalypse

    (@carmpocalypse)

    @lorenzobrandimarte
    This plugin has been abandoned. I would not use it anymore as it has a security vulnerability.
    https://wpscan.com/vulnerability/77c4f10c-204c-4568-91b6-8e1d98aaf4b6/

    Any alternatives? I need those custom Tabs based on category.

    Thread Starter 👁 Image
    lorenzobrandimarte

    (@lorenzobrandimarte)

    Thank you! @carmpocalypse

    I had removed it from my website, since the plugin has been abandoned as you said.

    There are many alternatives though @niburu just type custom tabs on the wp repository and you’ll find 2-3 alternatives and updated plugins.

    👁 Image
    Christian Gäking

    (@cgaeking)

    // To just display existing tabs, you can use the following code:


    add_filter( 'woocommerce_product_tabs', 'register_product_tabs' );

    function register_product_tabs( array $tabs ): array {
    global $product;

    if ( ! $product instanceof WC_Product ) {
    return $tabs;
    }

    $custom_tabs = get_post_meta( $product->get_id(), 'yikes_woo_products_tabs', true );

    if ( empty( $custom_tabs ) || ! is_array( $custom_tabs ) ) {
    return $tabs;
    }

    $priority = 50;

    foreach ( $custom_tabs as $tab ) {
    if ( empty( $tab['id'] ) || empty( $tab['title'] ) ) {
    continue;
    }

    $tab_id = sanitize_key( $tab['id'] );
    $tab_title = $tab['title'];
    $tab_content = isset( $tab['content'] ) ? $tab['content'] : '';

    $tabs[ $tab_id ] = [
    'title' => $tab_title,
    'priority' => $priority,
    'callback' => static function () use ( $tab_title, $tab_content ) {
    echo '<h2>' . esc_html( $tab_title ) . '</h2>';
    echo wp_kses_post( $tab_content );
    },
    ];

    $priority += 10;
    }

    return $tabs;
    }
Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.