Merge pull request #20251 from Ismail-elkorchi/fix/wc_maybe_define_constant_doc
Update wc_maybe_define_constant Docblock
This commit is contained in:
commit
f866349a03
|
@ -59,7 +59,7 @@ add_filter( 'woocommerce_short_description', array( $GLOBALS['wp_embed'], 'run_s
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
* @param string $name Constant name.
|
* @param string $name Constant name.
|
||||||
* @param string $value Value.
|
* @param mixed $value Value.
|
||||||
*/
|
*/
|
||||||
function wc_maybe_define_constant( $name, $value ) {
|
function wc_maybe_define_constant( $name, $value ) {
|
||||||
if ( ! defined( $name ) ) {
|
if ( ! defined( $name ) ) {
|
||||||
|
|
Loading…
Reference in New Issue