Application::flash_message_support()
Source
File: classes/Application.php
public function flash_message_support() { $cookie = $_COOKIE; $flash_message = dozent_array_get( 'dozent_flash.message', $cookie ); if ( ! empty( $flash_message ) ) { if ( is_admin() ) { add_action( 'admin_notices', [ $this, 'admin_show_flash_message' ] ); } setcookie( 'dozent_flash[message]' ); setcookie( 'dozent_flash[type]' ); setcookie( 'dozent_flash[view_count]' ); } }