title: why is add_options_page() not working?
body: <p>I am new to wordpress and I am trying to add something simple, just an admin_option_page(). After I have activated my plugin it does not seem to be working.... I am not sure what I am doing wrong here. If anyone can help me I would really appreciate it. Thanks!</p>
  
  <pre><code>class Settings{
  
      public function __construct()
      {
  
          add_action("admin_menu",[$this,"myPluginMenu"]);
  
  
      }
  
  
  
      public function myPluginMenu(){
  
          add_options_page("My plugin menu","Plugin menu","manage-options","my-plugin-menu",[$this,"pluginHtml"]);
  
      }
  
  
      public function pluginHtml(){
  
          if(!current_user_can("manage_options")){
              wp_die(__("Sorry you cant access this page"));
          }
  
  
          echo "&lt;div class='wrap'&gt;";
          echo "&lt;p&gt;Here is where the form would go if it had options&lt;/p&gt;";
          echo "&lt;/div&gt;";
  
      }
  
  
  }
  
  new Settings();
  </code></pre>