Title: How can we define attributes with PluginDocumentSettingPanel?
Last modified: January 16, 2020

---

# How can we define attributes with PluginDocumentSettingPanel?

 *  Resolved [Sébastien Dumont](https://wordpress.org/support/users/sebd86/)
 * (@sebd86)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/how-can-we-define-attributes-with-plugindocumentsettingpanel/)
 * I’m having trouble getting attributes defined and setting the attributes when
   a change has been made with my panel settings using `PluginDocumentSettingPanel`.
 * Can anyone provided an example on how to do it or has had the same issue before
   share how they solved it? Documentation is limited.
 * Any help is much appreciated.
 * Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Sébastien Dumont](https://wordpress.org/support/users/sebd86/)
 * (@sebd86)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/how-can-we-define-attributes-with-plugindocumentsettingpanel/#post-12336541)
 * Here is what I’m working on.
 * [https://gist.github.com/seb86/2e2c45c644df41fd2b09a07e5169c177](https://gist.github.com/seb86/2e2c45c644df41fd2b09a07e5169c177)
 *  Thread Starter [Sébastien Dumont](https://wordpress.org/support/users/sebd86/)
 * (@sebd86)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/how-can-we-define-attributes-with-plugindocumentsettingpanel/#post-12350199)
 * Figured it out.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How can we define attributes with PluginDocumentSettingPanel?’ is closed
to new replies.

 * ![](https://ps.w.org/gutenberg/assets/icon-256x256.jpg?rev=1776042)
 * [Gutenberg](https://wordpress.org/plugins/gutenberg/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gutenberg/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gutenberg/)
 * [Active Topics](https://wordpress.org/support/plugin/gutenberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gutenberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gutenberg/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [Sébastien Dumont](https://wordpress.org/support/users/sebd86/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/how-can-we-define-attributes-with-plugindocumentsettingpanel/#post-12350199)
 * Status: resolved