Skip to content

Unable to use class level functions as callback #1586

@michaelmohamed

Description

@michaelmohamed

I am on the latest version of redux, and i am unable to use callbacks as array(' $this, 'function_name');

I am getting an error that function_exists expects param 1 to be a string.

How do I use functions inside another class as a function?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions