Skip to content

Commit 5f7cbef

Browse files
Update clarkson-404.php
1 parent 459bf5c commit 5f7cbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clarkson-404.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class FourOFour {
2424

2525
protected function __construct() {
2626
add_action( 'admin_init', array( $this, 'settings_field' ) );
27-
add_filter( 'clarkson_context_args', array( $this, 'add_404_object' ) );
27+
add_filter( 'clarkson_core_template_context', array( $this, 'add_404_object' ) );
2828
add_action( 'wp', array( $this, 'force_404' ) );
2929
}
3030

0 commit comments

Comments
 (0)