Plugin Directory

Changeset 3334443


Ignore:
Timestamp:
07/26/2025 06:08:57 AM (8 months ago)
Author:
vedicastroapiadmin
Message:

hide pdf product code commented

Location:
vedicastroapi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vedicastroapi/tags/2.0.4/public/class-vedic-astro-api-public.php

    r3334440 r3334443  
    210210
    211211            add_action('woocommerce_order_details_after_order_table', array($this, 'display_kundali_pdf_on_order_page'));
    212             add_action('pre_get_posts', array($this, 'hide_pdf_products_from_frontend'));
     212            //add_action('pre_get_posts', array($this, 'hide_pdf_products_from_frontend'));
    213213            add_action('template_redirect', array($this,  'restrict_pdf_product_single_page'));
    214214        }
  • vedicastroapi/trunk/public/class-vedic-astro-api-public.php

    r3334440 r3334443  
    210210
    211211            add_action('woocommerce_order_details_after_order_table', array($this, 'display_kundali_pdf_on_order_page'));
    212             add_action('pre_get_posts', array($this, 'hide_pdf_products_from_frontend'));
     212            //add_action('pre_get_posts', array($this, 'hide_pdf_products_from_frontend'));
    213213            add_action('template_redirect', array($this,  'restrict_pdf_product_single_page'));
    214214        }
Note: See TracChangeset for help on using the changeset viewer.