Title: Dynamic Key attribute
Last modified: August 30, 2016

---

# Dynamic Key attribute

 *  Resolved [Sborto](https://wordpress.org/support/users/sborto/)
 * (@sborto)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/dynamic-key-attribute/)
 * I’ve designed a simple java function to dynamically generate different URLs, 
   is it possible to dynamically change the key attribute according to that function?
 * thank you
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/dynamic-key-attribute/#post-6543495)
 * Well, the shortcode is just part of the post content, so you can read out the
   post content, look for the shortcodes, then modify them as you wish. You can 
   also construct a valid shortcode string programmatically and then simply pass
   it to the WordPress core `do_shortcode` function. Unlike the `query` attribute,
   there is no built-in filter for the `key` attribute.

Viewing 1 replies (of 1 total)

The topic ‘Dynamic Key attribute’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Meitar](https://wordpress.org/support/users/meitar/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/dynamic-key-attribute/#post-6543495)
 * Status: resolved