Skip to content

Commit

Permalink
fix: add filter in row_actions_kses and price_kses (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
saimonh3 authored and sabbir1991 committed Mar 20, 2019
1 parent aa2b879 commit 8356d9e
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions templates/products/products-listing-row.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@
),
) );

$row_actions_kses = array(
$row_actions_kses = apply_filters( 'dokan_row_actions_kses', array(
'span' => array(
'class' => array(),
),
'a' => array(
'href' => array()
'href' => array(),
'onclick' => array(),
),
);
) );

$price_kses = array(
$price_kses = apply_filters( 'dokan_price_kses', array(
'span' => array(
'class' => array()
),
);
) );
?>
<tr class="<?php echo esc_attr( $tr_class ); ?>">
<td class="dokan-product-select">
Expand Down

0 comments on commit 8356d9e

Please sign in to comment.