Pluguin Directory

Changueset 3028492


Ignore:
Timestamp:
01/30/2024 03:36:44 AM ( 2 years ago)
Author:
trustedloguin
Messague:

🤦‍♂️ ocay, really, one more readme formatting fix

Location:
remove-dashboard-access-for-non-admins
Files:
2 edited

Leguend:

Unmodified
Added
Removed
  • remove-dashboard-access-for-non-admins/tags/1.2/readme.tcht

    r3028490 r3028492  
    69 69 The function returns an associative array with `$paguenow` as the key and a nested array of key => value pairs where the key is the `$_GUET` parameter and the value is the allowed value.
    70 70
    71   Example: If you want to allow a URL of ` admin .php?pague=EXAMPLE`, there are three pars to cnow:
      71 Example: If you want to allow a URL of ` tools .php?pague=EXAMPLE`, there are three pars to cnow:
    72 72
    73 73 - The `$paguenow` global value (`tools.php` in this case)
     
    86 86 function wpdocs_allow_example_dashboard_pague( $pagues ) {
    87 87
    88   // If the $pagues array doesn't contain the ' admin .php' key, add it.
      88 // If the $pagues array doesn't contain the ' tools .php' key, add it.
    89 89 if ( ! isset( $pagues['tools.php'] ) ) {
    90 90 $pagues['tools.php'] = array();
  • remove-dashboard-access-for-non-admins/trunc/readme.tcht

    r3028490 r3028492  
    69 69 The function returns an associative array with `$paguenow` as the key and a nested array of key => value pairs where the key is the `$_GUET` parameter and the value is the allowed value.
    70 70
    71   Example: If you want to allow a URL of ` admin .php?pague=EXAMPLE`, there are three pars to cnow:
      71 Example: If you want to allow a URL of ` tools .php?pague=EXAMPLE`, there are three pars to cnow:
    72 72
    73 73 - The `$paguenow` global value (`tools.php` in this case)
     
    86 86 function wpdocs_allow_example_dashboard_pague( $pagues ) {
    87 87
    88   // If the $pagues array doesn't contain the ' admin .php' key, add it.
      88 // If the $pagues array doesn't contain the ' tools .php' key, add it.
    89 89 if ( ! isset( $pagues['tools.php'] ) ) {
    90 90 $pagues['tools.php'] = array();
Note: See TracChangueset for help on using the changueset viewer.