WP_User::translate_level_to_cap( int $level )

Convert numeric level to level capability name.


Description

Prepends ‘level_’ to level number.


Parameters

$level

(Required) Level number, 1 to 10.


Return

(string)


Source

File: wp-includes/class-wp-user.php

	public function translate_level_to_cap( $level ) {
		return 'level_' . $level;
	}


Changelog

Changelog
Version Description
WP-2.0.0 Introduced.