Skip to content

Commit

Permalink
Added elementor/widgets/wordpress/widget_args filter to customize W…
Browse files Browse the repository at this point in the history
…P widget markup, close #2052
  • Loading branch information
KingYes committed Aug 2, 2017
1 parent 91b188d commit c6fa7cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/widgets/wordpress.php
Expand Up @@ -111,6 +111,8 @@ protected function render() {
'after_title' => '</h5>',
];

$empty_widget_args = apply_filters( 'elementor/widgets/wordpress/widget_args', $empty_widget_args, $this ); // WPCS: spelling ok.

$this->get_widget_instance()->widget( $empty_widget_args, $this->get_settings( 'wp' ) );
}

Expand Down

0 comments on commit c6fa7cb

Please sign in to comment.