H
H
Httdientee2021-09-18 20:14:00
WordPress
Httdientee, 2021-09-18 20:14:00

How to use plugin class in functions.php file?

I need to use a class from a plugin in the functions.php file, can you tell me how to do this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Druzhaev, 2021-09-20
@OtshelnikFm

You check - whether there is a class. You broadcast this check to a hook or function. If the function - then you need to call it somewhere and you will succeed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question