Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #5883

      Can someone help me? How to create admin notice using piklist? i have my script like this.

      add_action(‘admin_notices’, array(‘CustomTheme’,’my_admin_notice’));

      public static function my_admin_notice()
      {
      echo ‘<div class=”updated”><p>Activate your theme!</p></div>’;
      }

    • #5895
      Steve
      Keymaster

      @leonardotessaro– With Piklist you don’t have to write any PHP to create a notice. Check out this tutorial.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.