I would say the section Constants in the WordPress: PHP Documentation Standards is pretty clear. It should look like this:
/**
* Summary.
*
* @since x.x.x (if available)
* @var type $var Description.
*/
define( 'MY_CONST', 'Hello' );
I would say the section Constants in the WordPress: PHP Documentation Standards is pretty clear. It should look like this:
/**
* Summary.
*
* @since x.x.x (if available)
* @var type $var Description.
*/
define( 'MY_CONST', 'Hello' );