Title: Getting Widgets Content
Last modified: August 30, 2016

---

# Getting Widgets Content

 *  [eSas](https://wordpress.org/support/users/esas/)
 * (@esas)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/getting-widgets-content/)
 * Hello guys!
 * I’m currently trying to figure out a way to grab and edit all of the content 
   for running widgets on a website, I was only able to do this with wp text widget,
   but my main question is how do I do it for custom widgets?
 * For widget_text content I was using code below, but as I said earlier this only
   changes content for text widget:
 *     ```
       add_action( 'plugins_loaded', 'change_widget' );
       function change_widget(){
       	//add_filter( 'dynamic_sidebar_params', 'jmk_widget' );
       	add_filter( 'widget_text', 'jmk_widget', 99 );
       }
       ```
   
 * The commented line gets all of the widgets and few parameters, but I didn’t quite
   figured out If I can change it’s output with this.
 * Thank you for any help in advance!

The topic ‘Getting Widgets Content’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [eSas](https://wordpress.org/support/users/esas/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/getting-widgets-content/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
