• 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

I cannot create a auto generated date time in mysql workbench

how to prevent float variables displaying as scientific notation when printing [duplicate]

Get orders by date and status woocommerce

How should I get started using PHPUnit as a testing framework for a bunch of functions and classes I have already made?

file_put_content...fail to open stream:Permission denied in Laravel 5

Clear javascript source cache laravel 5.8

"properties should not be accessed directly" issue during WooCommerce 3.0 checkout

PHP Include for HTML?

Warning: sqlite_query() expects parameter 1 to be resource, string given

Add a custom text for a particular product on specific email notification in Woocommerce

MySQL upgrade causing unexpected results on simple WHERE clauses

Add customer email and phone in "Order" column to admin orders list on Woocommerce

curl returning 301 error after migrating to https

mysql_result is defined but mysql_free_result warns it expected a resource

"cannot list resources" error from WooCommerce REST API

About Contact Privacy policy Terms and conditions