Skip to content

Is param type ok in get_render_attribute_string? #7988

@mlbd

Description

@mlbd

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest stable version of Elementor.

Description

As you can see in here https://code.elementor.com/methods/elementor-element_base-get_render_attribute_string/ param type array|string documented. But there only string should be expected not array.

So, here is my question, there is anyway we can pass array on get_render_attribute_string ?
If yes, then can I have any and example about it. If not then I think docs needs to update as well doc comment where is method written.

By the way thanks for The Great Plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/has-prIndicates that an Issue, or Discussion has a companion Pull Request awaiting to be merged.status/mergedIndicates when a Pull Request has been merged to a Release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions