action_scheduler_list_table_column_args

action_scheduler_list_table_column_args

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

apply_filters('action_scheduler_list_table_column_args') is found 2 times:

  • /packages/action-scheduler/classes/ActionScheduler_ListTable.php line 279
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    * @return string
     */
    public function column_args( array $row ) {
        if ( empty( $row['args'] ) ) {
            return apply_filters( 'action_scheduler_list_table_column_args', '', $row );
        }
     
        $row_html = '<ul>';
        foreach ( $row['args'] as $key => $value ) {
            $row_html .= sprintf( '<li><code>%s => %s</code></li>', esc_html( var_export( $key, true ) ), esc_html( var_export( $value, true ) ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export
        }
  • /packages/action-scheduler/classes/ActionScheduler_ListTable.php line 288
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
            $row_html .= sprintf( '<li><code>%s => %s</code></li>', esc_html( var_export( $key, true ) ), esc_html( var_export( $value, true ) ) ); // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_var_export
        }
        $row_html .= '</ul>';
     
        return apply_filters( 'action_scheduler_list_table_column_args', $row_html, $row );
    }
     
    /**
     * Prints the logs entries inline. We do so to avoid loading Javascript and other hacks to show it in a modal.
     *
     * @param array $row Action array.