Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP Widget args #2052

Closed
IronLady opened this issue Jul 22, 2017 · 2 comments
Closed

WP Widget args #2052

IronLady opened this issue Jul 22, 2017 · 2 comments
Assignees
Labels
type/developer-api Indicates when a topic is related to the Developer API and Documentation.
Milestone

Comments

@IronLady
Copy link

Is there a way to customize the WP Widget markup?
I saw

$empty_widget_args = [
			'widget_id' => $this->get_name(),
			'before_widget' => '',
			'after_widget' => '',
			'before_title' => '<h5>',
			'after_title' => '</h5>',
		];

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

But there is no filter there.

@arielk arielk added the type/developer-api Indicates when a topic is related to the Developer API and Documentation. label Jul 28, 2017
@KingYes KingYes self-assigned this Jul 28, 2017
@arielk arielk added this to the 1.6.0 milestone Aug 1, 2017
KingYes added a commit that referenced this issue Aug 2, 2017
@KingYes
Copy link
Member

KingYes commented Aug 2, 2017

@IronLady Thanks

@IronLady
Copy link
Author

IronLady commented Aug 2, 2017

@KingYes Thank you for this

@IronLady IronLady closed this as completed Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/developer-api Indicates when a topic is related to the Developer API and Documentation.
Projects
None yet
Development

No branches or pull requests

3 participants