GravityView_DIR_AD_FPOPULATION - Auto-Populate GravityView Field Details on CPT Sync
* Location: Run Everywhere * Priority: 30 * Description: Hooks into GravityView sync to populate detailed…
Add Custom Fields to Products.php
Custom Fields
Untitled Snippet
function youtube_dashboard() { $api_key = "AIzaSyBzzf22Vs5sMf1eoCuhN3-0Qtnj0EKu7Bk"; $channel_id = "102319916649-hmjdaecid7f96ql384nd80ie8mn13fjj.apps.googleusercontent.com"; // ganti channel kamu $url = "https://www.googleapis.com/youtube/v3/channels?part=snippet,statistics&id=$channel_id&key=$api_key";…
Download Archive Menu Item
Displays the download archive link in the "View All" tab of the "Pages" menu items meta…
Disable Renewal Notice for Specific Products
Disables renewal notices for specific products
Download Archive Purchase Buttons
Output purchase button below the full content on download archive pages.
Auto Vote 5 sao cho bài viết mới
function auto_vote_5_stars_on_publish($ID, $post) { if ($post->post_status === 'publish') { if (function_exists('kk_star_ratings_insert')) { kk_star_ratings_insert("5", $ID); } }…
Add Vendor Ratings / Feedback to Product Page
add_action('woocommerce_before_add_to_cart_form','vendor_feedback_product_page'); function vendor_feedback_product_page() { $vendor_id = get_the_author_meta('ID'); $vendor_shop = urldecode( get_query_var( 'vendor_shop' ) ); if (…
Allow "Mark received" for Digital Product
add_filter( 'wcvendors_pro_mark_order_received_status', '__return_false' );
Extra WordPress Filters in Pro (Do something with the price display) | Display Eventbrite Events
Using this filter, you can change the price display. filter: (‘wfea_price_display‘ , $price_display, $min, $max, $currency)…
Change Arabic Currency symbol to the currency short code
example change د.إ to AED and all the Arabic currencies