llms_php_error_constant_to_code( int $code )
Convert a PHP error constant to a human readable error code
Parameters Parameters
- $code
-
(int) (Required) A predefined php error constant.
Return Return
(string) A human readable string version of the constant.
Source Source
File: includes/llms.functions.core.php
* @param array $elements Associative array representing select2 student elements.
* @param array $post_ids Optional. Indexed array of WordPress Post IDs.
*/
return apply_filters( 'llms_make_select2_student_array', $ret, $user_ids );
}
/**
* Define a constant if it's not already defined
*
* @since 3.15.0
*
* @param string $name Constant name.
* @param mixed $value Constant values.
* @return void
*/
function llms_maybe_define_constant( $name, $value ) {
if ( ! defined( $name ) ) {
define( $name, $value );
}
}
/**
* Parse booleans
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |