feat: add an export pods view just like normal one for now

This commit is contained in:
Glen Whitney 2021-02-08 10:51:28 -08:00
parent 0307f2897a
commit 065b0df0ef
2 changed files with 194 additions and 2 deletions

View file

@ -3,7 +3,7 @@
Plugin Name: TablePress Extension: Pods tables
Plugin URI: https://code.studioinfinity.org/glen/tablepress-pods
Description: Custom Extension for TablePress to incorporate Pods information in tables
Version: 0.2.5
Version: 0.2.6
Author: Glen Whitney
Author URI: http ://studioinfinity.org/
*/
@ -59,7 +59,7 @@ add_filter( 'tablepress_shortcode_table_default_shortcode_atts',
'playground_add_shortcode_parameter_pods' );
add_filter( 'tablepress_table_raw_render_data', 'playground_expand_pod', 10, 2 );
add_filter( 'tablepress_admin_view_actions', 'playground_add_export_pod_action');
add_filter( 'tablepress_load_file_full_path', 'playground_exportpods_path');
add_filter( 'tablepress_load_file_full_path', 'playground_exportpods_path', 10, 3);
function playground_add_shortcode_parameter_pods( $default_atts ) {
$default_atts['pod_name'] = '';