ap_ajax_tinymce_assets()

Function: Include tinymce assets.

ap_main_pages()

Function: All pages required of AnsPress.

ap_main_pages

Filter Hook: Hook for filtering main pages of AnsPress. Custom main pages can be registered using this hook.

ap_to_dot_notation()

Function: Convert array notation (string, not real array) to dot notation.

ap_set_in_array()

Function: Set key => value in an array.

ap_get_addon()

Function: Return a single addon by file path.

ap_rand()

Function: Utility function for getting random values with weighting.

ap_addon_activation_hook()

Function: Register a callback function which triggred after activating an addon.

ap_array_insert_after()

Function: Insert a value or key/value pair after a specific key in an array. If key doesn’t exist, value is appended to the end of the array.

ap_get_short_link()

Function: Return short link to a item.