/** * Adds a button to delete the products in the system tools. * * @since 3.1.7 */ public function add_delete_tool() { ?> <tr> <td class="row-title"><label for="tablecell"><?php _e('Delete Products', 'wpas'); ?> </label></td> <td> <a href="<?php echo wpas_tool_link('delete_products', array('pt' => $this->post_type)); ?> " class="button-secondary"><?php _e('Delete', 'wpas'); ?> </a> <span class="wpas-system-tools-desc"><?php _e('Delete all products synchronized from your e-commerce plugin.', 'wpas'); ?> </span> </td> </tr> <?php }
?> </a> <span class="wpas-system-tools-desc"><?php _e('Clear all agents metas.', 'wpas'); ?> </span> </td> </tr> <tr> <td class="row-title"><label for="tablecell"><?php _e('Custom Taxonomies', 'wpas'); ?> </label></td> <td> <a href="<?php echo wpas_tool_link('clear_taxonomies'); ?> " class="button-secondary"><?php _e('Clear', 'wpas'); ?> </a> <span class="wpas-system-tools-desc"><?php _e('Clear all terms from all custom taxonomies.', 'wpas'); ?> </span> </td> </tr> <?php do_action('wpas_system_tools_table_after'); ?> </tbody>