public static function _admin_notices() {
		$messages = array(
			'updated' => __( '<strong>Menu Icons Settings</strong> have been successfully updated.', 'menu-icons' ),
			'reset'   => __( '<strong>Menu Icons Settings</strong> have been successfully reset.', 'menu-icons' ),
		);

		$message_type = get_transient( self::TRANSIENT_KEY );

		if ( ! empty( $message_type ) && ! empty( $messages[ $message_type ] ) ) {
			printf(
				'<div class="updated notice is-dismissible"><p>%s</p></div>',
				wp_kses( $messages[ $message_type ], array( 'strong' => true ) )
			);
		}

		delete_transient( self::TRANSIENT_KEY );
	}
public static function _admin_notices() {
		$messages = array(
			'updated' => __( '<strong>Menu Icons Settings</strong> have been successfully updated.', 'menu-icons' ),
			'reset'   => __( '<strong>Menu Icons Settings</strong> have been successfully reset.', 'menu-icons' ),
		);

		$message_type = get_transient( self::TRANSIENT_KEY );

		if ( ! empty( $message_type ) && ! empty( $messages[ $message_type ] ) ) {
			printf(
				'<div class="updated notice is-dismissible"><p>%s</p></div>',
				wp_kses( $messages[ $message_type ], array( 'strong' => true ) )
			);
		}

		delete_transient( self::TRANSIENT_KEY );
	}
public static function _admin_notices ( ) { $ messages = array ( 'updated' => __ ( '<strong>Menu Icons Settings</strong> have been successfully updated.' , 'menu-icons' ) , 'reset' => __ ( '<strong>Menu Icons Settings</strong> have been successfully reset.' , 'menu-icons' ) , ) ; $ message_type = get_transient ( self :: TRANSIENT_KEY ) ; if ( ! empty ( $ message_type ) && ! empty ( $ messages [ $ message_type ] ) ) { printf ( '<div class="updated notice is-dismissible"><p>%s</p></div>' , wp_kses ( $ messages [ $ message_type ] , array ( 'strong' => true ) ) ) ; } delete_transient ( self :: TRANSIENT_KEY ) ; }
Print admin notices

@since   0.3.0
@wp_hook action admin_notices
Print admin notices