enabled = true; return $table; } public function render_off($output) { $this->enabled = false; return $output; } public function shortcode_args($args) { $auto_press = apply_filters('mb/integrations/auto_inline_tablepress', true); if ($this->enabled && $auto_press) { $args['load_css'] = 'inline'; // force inline css, because tablepress caches } return $args; } } $table = new MBTablePress();