Function: Return the current page url.
Function: Return response with type and message.
Function: Retrieve permalink to base page.
Function: Get slug of base page.
Method: Ajax callback to process post flag button
Method: Ajax action for selecting a best answer.
Method: Control the output of [question] shortcode
Class: This class handle all rewrite rules and define query variable of anspress
Method: Alter question and answer CPT permalink.
Method: Control the output of [anspress] shortcode.