WordPress at a glance
function is not described

ParagonIE_Sodium_Compat::version_string() public WP 1.0

This emulates libsodium's version_string() function, except ours is prefixed with 'polyfill-'.

{} It's a method of the class: ParagonIE_Sodium_Compat{}

No Hooks.


String. Null. Nothing.


$result = ParagonIE_Sodium_Compat::version_string();

Code of ParagonIE_Sodium_Compat::version_string() WP 5.7

public static function version_string()
    if (self::useNewSodiumAPI()) {
        return (string) sodium_version_string();
    if (self::use_fallback('version_string')) {
        return (string) call_user_func('\\Sodium\\version_string');
    return (string) self::VERSION_STRING;