public function admin_notices() {
		if ( version_compare( get_option( 'cptp_permalink_checked' ), '3.0.0', '<' ) ) {
			// translators: %s URL.
			$format  = __( '[Custom Post Type Permalinks] <a href="%s"><strong>Please check your permalink settings!</strong></a>', 'custom-post-type-permalinks' );
			$message = sprintf( $format, admin_url( 'options-permalink.php' ) );
			echo sprintf( '<div class="notice notice-warning"><p>%s</p></div>', wp_kses( $message, wp_kses_allowed_html( 'post' ) ) );
		}
	}
public function admin_notices() {
		if ( version_compare( get_option( 'cptp_permalink_checked' ), '3.0.0', '<' ) ) {
			// translators: %s URL.
			$format  = __( '[Custom Post Type Permalinks] <a href="%s"><strong>Please check your permalink settings!</strong></a>', 'custom-post-type-permalinks' );
			$message = sprintf( $format, admin_url( 'options-permalink.php' ) );
			echo sprintf( '<div class="notice notice-warning"><p>%s</p></div>', wp_kses( $message, wp_kses_allowed_html( 'post' ) ) );
		}
	}
public function admin_notices ( ) { if ( version_compare ( get_option ( 'cptp_permalink_checked' ) , '3.0.0' , '<' ) ) { // translators: %s URL. $ format = __ ( '[Custom Post Type Permalinks] <a href="%s"><strong>Please check your permalink settings!</strong></a>' , 'custom-post-type-permalinks' ) ; $ message = sprintf ( $ format , admin_url ( 'options-permalink.php' ) ) ; echo sprintf ( '<div class="notice notice-warning"><p>%s</p></div>' , wp_kses ( $ message , wp_kses_allowed_html ( 'post' ) ) ) ; } }
Admin notice for update permalink settings!
Admin notice for update permalink settings!