src/Handlers/General.php
public function get_handler()
    {
        $handler = new PrettyPageHandler();
            
        $handler->addDataTableCallback('$wp_query', [$this, 'add_query']);

        $handler->addDataTableCallback('$post', [$this, 'add_post']);

        $handler->addDataTableCallback('$wp', [$this, 'add_wp']);

        return $handler;
    }
public function get_handler()
    {
        $handler = new PrettyPageHandler();
            
        $handler->addDataTableCallback('$wp_query', [$this, 'add_query']);

        $handler->addDataTableCallback('$post', [$this, 'add_post']);

        $handler->addDataTableCallback('$wp', [$this, 'add_wp']);

        return $handler;
    }
public function get_handler ( ) { $ handler = new PrettyPageHandler ( ) ; $ handler -> addDataTableCallback ( '$wp_query' , [ $ this , 'add_query' ] ) ; $ handler -> addDataTableCallback ( '$post' , [ $ this , 'add_post' ] ) ; $ handler -> addDataTableCallback ( '$wp' , [ $ this , 'add_wp' ] ) ; return $ handler ; }
Return the Whoops PrettyPageHandler.

@since  1.0.0

@return PrettyPageHandler
Return the Whoops PrettyPageHandler .