Skip to content

Commit

Permalink
code update on readme
Browse files Browse the repository at this point in the history
  • Loading branch information
codersaiful committed Jan 9, 2024
1 parent 211073c commit 461ab13
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,14 @@ https://www.youtube.com/watch?v=yPjFmCHn36Y

Please Visit our demo site to see all our demo tables. [All Demo](https://demo.wooproducttable.com/)

** Customization of Table Data **
**Customization of Table Data**
Using filter hook, User able to change any TD data, using filter hook.<br>
Example Code:<br>

`add_filter('wpt_td_content', function($content, $Row, $column_key){
//$product_id = $Row->product_id;
//$product_id = $Row->td_keyword;
//vard_dump($Row); //Checkout to get all others property of this $Row object.
//var_dump($Row); //Checkout to get all others property of this $Row object.
if($column_key == '_price'){
$content = "BDT $content" . ' taka';
}
Expand Down

0 comments on commit 461ab13

Please sign in to comment.