We don't guarantee that all provided answers is correct. 1. Which of the following will hash a string/password to its md5 equivalent? Answers: • md5() • wp_generate_password() • wp_generate_md5() • password_md5() 2. Which conditional tag checks if the dashboard or the administration panel is attempting to be displayed by returning «true’ (if the URL being accessed is in the admin section) or «false» (for a front-end page). Answers: • my_admin() • view_admin() • is_admin() • root_admin() 3. How can the class name of a sub-menu be changed in the wp_nav_menu? Answers: • By manually adding the class name in Appearance—>Menus • WordPress does not support the ability to change the class name of a sub-menu in the wp_nav_menu. • By adding the following code in functions.php: class UL_Class_Walker extends Walker_Nav_Menu { function start_lvl(&$output, $depth) { $indent = str_repeat(«\t», $depth); $output .= «\n$indent<ul class=\»level-«.$depth.»\»...
Upwork Skill Tests Question/Answer