1
I have the following obstacle:
Fatal error: Cannot redeclare add_term_meta() (Previously declared in /home/xxx/public_html/wp-includes/taxonomy.php:1757) in /home/xxx/public_html/wp-content/themes/theleader/framework/inc/taxonomy-Metadata.php on line 103
And I can’t find a solution, suggestions?
I’m half layman, I don’t know how to accomplish that require.
– Abstein
You create a PHP file, in it you put the function add_term_meta() and delete it from the other files, in place of it, in the other files, you write require_once 'name_folder/file_com_a_funcao_add_term_meta.php';
– Allan Andrade