| @@ -1,9 +1,9 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | require_once plugin_dir_path( __FILE__ ) . 'admin/cf7-post-admin-table.php'; |
| 3 | 3 | |
| 4 | 4 | //reset the cf7 admin table |
| 5 | -$cf7_admin = Cf7_WP_Post_Table::set_table(); | |
| 5 | +$cf7_admin = CF7SG_WP_Post_Table::set_table(); | |
| 6 | 6 | if(!$cf7_admin->hooks()){ |
| 7 | 7 | add_action( 'admin_enqueue_scripts', array($cf7_admin , 'enqueue_styles')); |
| 8 | 8 | add_action( 'admin_enqueue_scripts', array($cf7_admin , 'enqueue_script')); |
| 9 | 9 | //add_action( 'admin_enqueue_scripts', array($this, 'enqueue_scripts') )); |
| @@ -19,9 +19,9 @@ | ||
| 19 | 19 | //change the 'Add New' button link. |
| 20 | 20 | //contact form 7 taxonomy type |
| 21 | 21 | add_action('init', array( $cf7_admin, 'register_cf7_taxonomy' ) , 20 ); |
| 22 | 22 | |
| 23 | - // add_action( 'quick_edit_custom_box', array( $cf7_admin, 'quick_edit_box'), 100, 2 ); | |
| 23 | + add_action( 'quick_edit_custom_box', array( $cf7_admin, 'quick_edit_box'), 100, 2 ); | |
| 24 | 24 | //cf7-form shortcode |
| 25 | 25 | add_shortcode( 'cf7-form', array( $cf7_admin, 'shortcode') ); |
| 26 | 26 | add_shortcode( 'cf7form', array( $cf7_admin, 'shortcode') ); |
| 27 | 27 | /** @since 2.6.0 */ |