noptin_get_optin_templates()
Returns optin templates.
Return Return
(array)
Source Source
File: includes/functions.php
function noptin_get_optin_templates() { $custom_templates = get_option( 'noptin_templates' ); $inbuilt_templates = include locate_noptin_template( 'optin-templates.php' ); if ( ! is_array( $custom_templates ) ) { $custom_templates = array(); } $templates = array_merge( $custom_templates, $inbuilt_templates ); return apply_filters( 'noptin_form_templates', array_map( 'noptin_convert_classic_template', $templates ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.7 | Introduced. |