This post was last updated on November 7th, 2020 at 06:54 pm
This post was last updated on January 15th, 2017 at 06:04 pm
In WordPress we’re not always working inside the WordPress loop. Working inside the loop, we use the template tag the_ID
, which easily get current page ID. But while working outside the loop then getting current page ID is
This post was last updated on January 6th, 2017 at 07:16 pm
add_filter( string $tag, callable $function_to_add, int $priority = 10, int $accepted_args = 1 )
“add_filter” is defined as a function that takes in some kind of input, modifies it, and then returns it.—for example, you might want to
This post was last updated on January 6th, 2017 at 07:16 pm
do_action( string $tag, $arg = '' )
This function invokes all functions attached to action hook $tag
. It is possible to create new action hooks by simply calling this function, specifying the name of the new hook using the
This post was last updated on January 8th, 2017 at 09:03 pm
You may experience this issue after upgrading to WooCommerce (ver. 2.0+), purchased order using PayPal payment never get complete, in fact, all purchased order status goes to “Cancelled” and in the admin area those orders showed up as