You appear to be a bot. Output may be restricted
Description
Filter the 404 text
Usage
$string = oiksc_404_handler::handle_404( $text );
Parameters
- $text
- ( string ) required – initial HTML for not found
Returns
string generated HTMLSource
File name: oik-shortcodes/classes/class-oiksc-404-handler.phpLines:
1 to 13 of 13
function handle_404( $text ) { gob(); // should be redundant now $text = "All in good time"; //print_r( $this->query ); $post_type = $this->process_post_type(); if ( $post_type ) { //$text = "Handling: $post_type"; $text = $this->handle_post_type( $text, $post_type ); } else { $text = "Not quite sure what you're looking for here. Try searching"; } return( $text ); }View on GitHub