Skip to content
Snippets Groups Projects

Feature/wpdesk notices action

Merged Krzysztof Dyszczyk requested to merge feature/wpdesk-notices-action into master
All threads resolved!
2 files
+ 36
0
Compare changes
  • Side-by-side
  • Inline

Files

+ 14
0
@@ -167,6 +167,9 @@ class Notice
@@ -167,6 +167,9 @@ class Notice
}
}
}
}
 
/**
 
* Remove action.
 
*/
protected function removeAction()
protected function removeAction()
{
{
if ($this->actionAdded) {
if ($this->actionAdded) {
@@ -180,6 +183,17 @@ class Notice
@@ -180,6 +183,17 @@ class Notice
}
}
}
}
 
/**
 
* Add attribute.
 
*
 
* @param string $name Name
 
* @param string $value Value.
 
*/
 
public function addAttribute($name, $value)
 
{
 
$this->attributes[ $name ] = $value;
 
}
 
/**
/**
* Get notice class.
* Get notice class.
*
*
Loading