| 1 |
<?php |
| 2 |
|
| 3 |
if ( ! defined('WPINC') ) { |
| 4 |
wp_die(); |
| 5 |
} |
| 6 |
|
| 7 |
?> |
| 8 |
<p><strong><?php esc_html_e( 'WordPress', 'filter-everything' ); ?>:</strong></p> |
| 9 |
<table class="wpc-notes-table"><?php |
| 10 |
printf( '<tr><th>_thumbnail_id</th><td>%s</td></tr>', esc_html__( 'filter by Featured Image (Custom Field Exists)', 'filter-everything' ) ); |
| 11 |
?> |
| 12 |
</table> |
| 13 |
<p><strong><?php esc_html_e( 'WooCommerce', 'filter-everything' ); ?>:</strong></p> |
| 14 |
<table class="wpc-notes-table"> |
| 15 |
<?php |
| 16 |
printf( '<tr><th>_price</th><td>%s</td></tr>', esc_html__( 'filter by Product price', 'filter-everything' ) ); |
| 17 |
printf( '<tr><th>_stock_status</th><td>%s</td></tr>', esc_html__( 'filter by Product Stock status', 'filter-everything' ) ); |
| 18 |
printf( '<tr><th>_sale_price</th><td>%s</td></tr>', esc_html__( 'by Sale Price (Custom Field Num) or on Sale Status (Custom Field Exists)', 'filter-everything' ) ); |
| 19 |
printf( '<tr><th>total_sales</th><td>%s</td></tr>', esc_html__( 'by Sales Count', 'filter-everything' ) ); |
| 20 |
printf( '<tr><th>_backorders</th><td>%s</td></tr>', esc_html__( 'by Backorders Status', 'filter-everything' ) ); |
| 21 |
printf( '<tr><th>_downloadable</th><td>%s</td></tr>', esc_html__( 'by Downloadable Status', 'filter-everything' ) ); |
| 22 |
printf( '<tr><th>_sold_individually</th><td>%s</td></tr>', esc_html__( 'by Sold Individually status', 'filter-everything' ) ); |
| 23 |
printf( '<tr><th>_stock</th><td>%s</td></tr>', esc_html__( 'by Stock Quantity (Custom Field Num)', 'filter-everything' ) ); |
| 24 |
printf( '<tr><th>_virtual</th><td>%s</td></tr>', esc_html__( 'by Product Virtual status', 'filter-everything' ) ); |
| 25 |
printf( '<tr><th>_length</th><td>%s</td></tr>', esc_html__( 'product Length', 'filter-everything' ) ); |
| 26 |
printf( '<tr><th>_width</th><td>%s</td></tr>', esc_html__( 'product Width', 'filter-everything' ) ); |
| 27 |
printf( '<tr><th>_height</th><td>%s</td></tr>', esc_html__( 'product Height', 'filter-everything' ) ); |
| 28 |
printf( '<tr><th>_weight</th><td>%s</td></tr>', esc_html__( 'product Weight', 'filter-everything' ) ); |
| 29 |
echo wp_kses ( |
| 30 |
sprintf( |
| 31 |
__( '<tr><th>_wc_average_rating</th><td>filter by Product Average Rating. Optionally use <a href="%s" target="_blank">Product Visibility</a> taxonomy instead</td></tr>', 'filter-everything' ), |
| 32 |
'https://demo.filtereverything.pro/example/by-rating/' |
| 33 |
), |
| 34 |
array( |
| 35 |
'a' => array( 'href' => true, 'target' => true ), |
| 36 |
'tr' => array(), |
| 37 |
'th' => array(), |
| 38 |
'td' => array() |
| 39 |
) |
| 40 |
); |
| 41 |
?> |
| 42 |
</table> |