• Photo de Profil de john-smith

      john-smith a publié un message

      Il y a 8 mois

      Comment puis-je modifier le yith_wcan_terms_on_first_loading dans le plugin gratuit YITH du dépôt WordPress pour changer sa valeur ?

      J'essaie de fixer la valeur à 20 en utilisant le code suivant :


      add_filter( 'yith_wcan_terms_on_first_loading', function( $number ) { $number = 20; return $number; }, 10, 1 );

      I’ve also attempted to execute this code within the init et plugins_loaded action hooks, but it still doesn’t seem to work. What could be the issue, and how can I ensure the filter works as expected?

      OrionTraveler2 et tomsqum
      0 Commentaires