_screens['main'] = add_menu_page( _x( 'Activity Log', 'Page and Menu Title', 'aryo-activity-log' ), _x( 'Activity Log', 'Page and Menu Title', 'aryo-activity-log' ), $menu_capability, 'activity_log_page', array( &$this, 'activity_log_page_func' ), '', '2.1' );
// Just make sure we are create instance.
add_action( 'load-' . $this->_screens['main'], array( &$this, 'get_list_table' ) );
}
public function activity_log_page_func() {
$this->get_list_table()->prepare_items();
?>
_is_elementor_installed() )
return;
if ( 'true' === get_user_meta( get_current_user_id(), '_aal_elementor_install_notice', true ) )
return;
if ( ! in_array( get_current_screen()->id, array( 'toplevel_page_activity_log_page', 'dashboard', 'plugins', 'plugins-network' ) ) ) {
return;
}
add_action( 'admin_footer', array( &$this, 'print_js' ) );
$install_url = self_admin_url( 'plugin-install.php?tab=search&s=elementor' );
?>
_list_table ) ) {
$this->_list_table = new AAL_Activity_Log_List_Table( array( 'screen' => $this->_screens['main'] ) );
do_action( 'aal_admin_page_load', $this->_list_table );
}
return $this->_list_table;
}
}