AnsPress_Views::init()
Description #
Initialize the plugin by setting localization and loading public scripts and styles.
Source #
File: includes/views.php
public static function init() { anspress()->add_action( 'shutdown', __CLASS__, 'insert_views' ); anspress()->add_action( 'ap_before_delete_question', 'AnsPress_Vote', 'delete_votes' ); }
Expand full source code Collapse full source code View on GitHub: includes/views.php:29
Add your comment