What makes PHP the f-I jeg_get_template_part() in WP?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
In the file, found the function :
jeg_get_template_part('template/navigation-top', 'wpml');

She is responsible for the withdrawal of the languages in the header. As I understand it, in the template folder should be a file navigation-top-wpml.php but it is not there! If I comment the call to f, the tongues lost, that is what it is. How to understand?
Thank you
by | 6 views

1 Answer

0 like 0 dislike

get_template_part gets the template, in this case from the folder templates file navigation-top.php

Prefix jeg_ suggests that f-tsiya custom (theme, plugin, or framework).

'wpml' is the textdomain is likely. Usually added to the string to translate using the plugin WPML String Translation. Or is it a different setting in the code... need to watch

Related questions

0 like 0 dislike
1 answer
asked Apr 11, 2019 by Fqyeh29
0 like 0 dislike
1 answer
asked Apr 23, 2019 by blood-moon
0 like 0 dislike
1 answer
0 like 0 dislike
3 answers
asked Apr 12, 2019 by Nikulio
110,608 questions
257,186 answers
35,534 users