-
Notifications
You must be signed in to change notification settings - Fork 10
/
404.php
74 lines (64 loc) · 1.62 KB
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?php
/**
* The template for displaying 404 pages (Not Found).
*
* @package Alpha\CoreTemplates
* @author Cipher Development
* @copyright Copyright (c) 2018, Cipher Development, LLC
* @since 1.0.0
*/
/**
* Callback defined in includes/template-entry.php
*
* @see alpha_entry_open
*/
remove_action( 'carelib_entry_top', 'alpha_entry_open', 0 );
/**
* Callback defined in includes/template-404.php
*
* @see alpha_404_entry_open
*/
add_action( 'carelib_entry_top', 'alpha_404_entry_open', 0 );
/**
* Callback defined in includes/template-entry.php
*
* @see alpha_entry_title
*/
remove_action( 'carelib_entry_header', 'alpha_entry_title', 10 );
/**
* Callback defined in includes/template-404.php
*
* @see alpha_404_entry_title
*/
add_action( 'carelib_entry_header', 'alpha_404_entry_title', 10 );
/**
* Callback defined in includes/template-entry.php
*
* @see alpha_entry_header_meta
*/
remove_action( 'carelib_entry_header', 'carelib_entry_header_meta', 12 );
/**
* Callback defined in includes/template-404.php
*
* @see carelib_get_404_content
*/
add_filter( 'the_content', 'carelib_get_404_content', 99 );
/**
* Callback defined in includes/template-entry.php
*
* @see alpha_entry_footer
*/
remove_action( 'carelib_entry_content_after', 'carelib_entry_footer', 18 );
/**
* Callback defined in includes/template-entry.php
*
* @see alpha_entry_close
*/
remove_action( 'carelib_entry_bottom', 'alpha_entry_close', 99 );
/**
* Callback defined in includes/template-404.php
*
* @see alpha_404_entry_close
*/
add_action( 'carelib_entry_bottom', 'alpha_404_entry_close', 99 );
carelib_framework( '404' );