• 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

How to set dynamic `home` and `siteurl` in WordPress?

How to set time with DateTime modify?

Python - Include another Python script

Laravel views are showing from cache on one server but works fine on other server

Symfony process run throws exception - executing on command line works

Override default Auth routes in Laravel 7

Codeigniter, Severity: error --> Exception: Too few arguments to function, admin dashboard shows HTTP error 500

Confirm Leave on External Links in Wordpress

WordPress Subquery returns more than 1 row on SELECT

Hide email address with stars (*)

laravel 5.6 bulk inserting json data

Update Order custom Field value with WooCommerce REST API

Cut an arabic string

Sum array values of a column within each column of an array with 3 levels

Get number of working days between two dates in PHP [duplicate]

About Contact Privacy policy Terms and conditions