Title: Accessing short code attributes from another function
Last modified: August 21, 2016

---

# Accessing short code attributes from another function

 *  [mitsol](https://wordpress.org/support/users/mitsol/)
 * (@mitsol)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/accessing-short-code-attributes-from-another-function/)
 * Need a quick reply – how do i get short code attributes in my register script
   function – “register_my_scripts” which i use to add required scripts via add_action(‘
   wp_enqueue_scripts’, ‘register_my_scripts’); I needed it because i have to get
   some short code attribute value checks to push scripts.

The topic ‘Accessing short code attributes from another function’ is closed to new
replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [mitsol](https://wordpress.org/support/users/mitsol/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/accessing-short-code-attributes-from-another-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
