field, array( 'button_title' => esc_html__( 'Icon Library', 'adminify' ), 'remove_title' => esc_html__( 'None', 'adminify' ), ) ); echo wp_kses_post( $this->field_before() ); $value = (string) $this->value; $custom = self::is_custom_icon( $value ); // Markup mirrors the Menu Editor's picker wrapper: the picker binds // delegated handlers to .select-icon / .icon-none and resolves the // owning field with .closest('.icon-picker-wrap'). echo '
'; echo ''; echo 'field_attributes() . ' />'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- field_attributes() escapes each attribute via esc_attr(). echo '
'; echo wp_kses_post( $this->field_after() ); } } }