• Foto do perfil de john-smith

      john-smith publicou uma atualização

      8 meses atrás

      How can I modify the yith_wcan_terms_on_first_loading filter hook in the free YITH plugin from the WordPress repository to change its value?

      I am trying to set the value to 20 using the following code:


      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 e 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 e tomsqum
      0 Comentários