Answer the question
In order to leave comments, you need to log in
What does the jeg_get_template_part() PHP function do in WP?
Hello everyone
In the file I found the function:
jeg_get_template_part('template/navigation-top', 'wpml');
Answer the question
In order to leave comments, you need to log in
Hello!
get_template_part gets the template in this case from the templates folder navigation-top.php file The jeg_
prefix indicates that the function is custom (of the theme itself, plugin or framework).
'wpml' is textdomain most likely. Usually added so that the string can be translated through the WPML String Translation plugin. Or is it another parameter ... you need to look in the code
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question