• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Edit product hook WooCommerce

phpwordpresswoocommerceproducthook-woocommerce


PHP Snippet 1:

add_action('woocommerce_single_product_summary', 'woocommerce_custom_single_excerpt', 15);

function woocommerce_custom_single_excerpt() {
    global $post;
    echo '<p class="product-description">';
    echo "hello";
    echo '</p>';
}

Related Snippets

unable to load your default controller on Codeigniter

Convert date and time to Jalali in Laravel

how to validate form data in codeigniter 4

Add restriction to WooCommerce coupons by allowed user ID

woocommerce get_order_report_data to show order_item_id

500 Internal Server Error on Ajax request. Not sure the origin of the problem

How to use functions that are declared in snippets in Evolution CMS (Modx) in an external PHP Script?

WordPress ACFNotice: get_field() - We've detected one or more calls to retrieve ACF field values before ACF has been initialized

Changing font color in javascript

Filter WooCommerce products with post__in and additional meta queries

I'm trying to use curl with php but getting this error:Could not resolve host: Bearer

Create a new line whenever an array value reaches more than 10 characters

is there any way to validate a field that sometime is File(image) && sometime is String(Src of same image)

How to add a heading in between checkout fields of WooCommerce

php mysql + create a friend request system

About Contact Privacy policy Terms and conditions