View order_status_completed.php
<?php
/**
* Author: Rocky Mehta
* Link: https://onlineblogwebsite.com/
* Email: rocky.mehta88@gmail.com
* All Order Status = "Completed" ( WooCommerce 2.2+ )
*/
add_action('woocommerce_thankyou', 'obw_all_orders_completed_function');
function obw_all_orders_completed_function() {
View add_new_product.php
<?php
/**
* Template Name: Add Product Full width Page.
* Description: Add woocommerce product from font-end, Full width Layout (User must be logged in).
* Author: Rocky Mehta
* Link: https://onlineblogwebsite.com/
* Email: rocky.mehta88@gmail.com
*/
View enable-span-tag-wordpress-widget.php
<?php
/**
* Author: Rocky Mehta
* Link: https://onlineblogwebsite.com/
* Email: rocky.mehta88@gmail.com
*/
/* Enable html Span tag support in WordPress widget title*/
add_filter( 'widget_title', 'html_tag_support_widget_title_function' );
function html_tag_support_widget_title_function( $title ) {
View enable-php-code-wordpress-widget.php
<?php
/**
* Author: Rocky Mehta
* Link: https://onlineblogwebsite.com/
* Email: rocky.mehta88@gmail.com
*/
/* Enable PHP Code in the WordPress widget */
add_filter('widget_text', 'enable_php_code_function', 99);
function enable_php_code_function ($text) {