WooCommerce Registration redirect based on page ID

I am trying to change the WooCommerce Registration button redirect link. This is the code I use for the redirect (which works just fine): function custom_registration_redirect() { if(is_user_logged_in()) { return home_url(‘/checkout/’); } } add_action(‘woocommerce_registration_redirect’, ‘custom_registration_redirect’, 2); The issue is: I need to change the redirect based on the page the user is actually on, so…

Details

Drupal 8 + DataTables – warning (table id = ‘datatable’): Cannot reinitialise DataTable

I use the following module with my Drupal 8: https://www.drupal.org/project/datatables I always get the following error: DataTables wanring (table id = ‘datatable’): Cannot reinitialise DataTable To retrieve the DataTables object for this table, pass no arguments or see the docs for bRetrieve and bDestroy I press okay and still everything seems to work so far.…

Details