Exemplo n.º 1
0
 function all_deps($handles, $recursion = false)
 {
     $r = parent::all_deps($handles, $recursion);
     if (!$recursion) {
         $this->to_do = apply_filters('print_scripts_array', $this->to_do);
     }
     return $r;
 }
Exemplo n.º 2
0
 /**
  * @param mixed $handles
  * @param bool $recursion
  * @param mixed $group
  * @return bool
  */
 public function all_deps($handles, $recursion = false, $group = false)
 {
     $r = parent::all_deps($handles, $recursion);
     if (!$recursion) {
         /**
          * Filter the array of enqueued styles before processing for output.
          *
          * @since 2.6.0
          *
          * @param array $to_do The list of enqueued styles about to be processed.
          */
         $this->to_do = apply_filters('print_styles_array', $this->to_do);
     }
     return $r;
 }
Exemplo n.º 3
0
 public function all_deps($handles, $recursion = false, $group = false)
 {
     $r = parent::all_deps($handles, $recursion);
     if (!$recursion) {
         /**
          * Filter the list of script dependencies left to print.
          *
          * @since 2.3.0
          *
          * @param array $to_do An array of script dependencies.
          */
         $this->to_do = apply_filters('print_scripts_array', $this->to_do);
     }
     return $r;
 }