SHARE
TWEET

Untitled

a guest Jan 12th, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class Activation {
  2.  
  3.   function __construct() {
  4.  
  5.     add_action(
  6.       'admin_notices',
  7.       array($this,"text_admin_notices")
  8.     );
  9.  
  10.     Utils::update_option("is_activated", true);
  11.   }
  12.  
  13.   function text_admin_notices () {
  14.     ?>
  15.         <div class="notice notice-success is-dismissible">
  16.             <p> TEST MESSAGE</p>
  17.         </div
  18.     <?php
  19.   }
  20.  
  21. }
RAW Paste Data
Top