LLMS_Abstract_Notification_View::get_merge_codes()
Get available merge codes for the current notification.
Return Return
(array)
Source Source
File: includes/abstracts/llms.abstract.notification.view.php
public function get_merge_codes() {
if ( ! isset( $this->merge_codes ) ) {
$codes = array_merge( $this->get_merge_code_defaults(), $this->set_merge_codes() );
asort( $codes );
$this->merge_codes = $codes;
}
return apply_filters( $this->get_filter( 'get_merge_codes' ), $this->merge_codes, $this );
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 6.4.0 | Cache merge codes. |
| 3.8.0 | |
| 3.11.0 | Introduced. |