Settings page restored, AJAX hook bundled in main class

This commit is contained in:
2017-12-07 18:22:21 +01:00
parent 15f02cbe83
commit 32e6db17a0
7 changed files with 97 additions and 64 deletions

View File

@ -129,7 +129,7 @@ class WPLiveticker2_Widget extends WP_Widget {
$ajax = isset( $instance['ajax'] ) ? esc_attr( $instance['ajax'] ) : '0';
$categories = get_terms( 'wplt2_ticker', 'orderby=name&order=ASC' );
include '../views/widget-form.php';
include WPLT2_DIR . 'views/widget-form.php';
}
/**