AnsPress_Views::init()

Description #

Initialize the plugin by setting localization and loading public scripts and styles.

Changelog #

VersionDescription
2.4.8Introduced.

Source #

File: includes/views.php

29
30
31
32
public static function init() {
    anspress()->add_action( 'shutdown', __CLASS__, 'insert_views' );
    anspress()->add_action( 'ap_before_delete_question', 'AnsPress_Vote', 'delete_votes' );
}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment