Skip to content

WP Widget args #2052

@IronLady

Description

@IronLady

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.

Metadata

Metadata

Assignees

Labels

type/developer-apiIndicates when a topic is related to the Developer API and Documentation.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions