Astra_Ext_Extension::get_custom_404()
Provide Custom 404 array().
Description
Return
(array())
Source
File: classes/class-astra-ext-extension.php
public static function get_custom_404() {
$custom_404_default = array(
'enable_404' => false,
'page_404' => '',
'page_404_id' => '',
);
$custom_404 = Astra_Admin_Helper::get_admin_settings_option( '_astra_ext_custom_404' );
if ( empty( $custom_404 ) ) {
$custom_404 = $custom_404_default;
}
$custom_404 = apply_filters( 'astra_custom_404_options', $custom_404_default );
return $custom_404;
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 1.0 | Introduced. |