set_count_objects(); $link_cols->register_init_hooks(); } } catch( \Excetion $err ) { // Rare use case. error log should sustain error_log( sprintf( 'ACF QuickEdit Fields is having trouble with Yoast SEO v%s', WPSEO_VERSION ) ); error_log( $err->getMessage() ); error_log( $err->getTraceAsString() ); } try { // score + readability $meta_cols = new \WPSEO_Meta_Columns(); $meta_cols->setup_hooks(); } catch( \Excetion $err ) { // Rare use case. error log should sustain error_log( sprintf( 'ACF QuickEdit Fields is having trouble with Yoast SEO v%s', WPSEO_VERSION ) ); error_log( $err->getMessage() ); error_log( $err->getTraceAsString() ); } } /** * @filter acf_quick_edit_post_ajax_actions */ public function post_ajax_action( $actions ) { $actions[] = 'pll_update_post_rows'; return $actions; } /** * @filter acf_quick_edit_term_ajax_actions */ public function term_ajax_action( $actions ) { $actions[] = 'pll_update_term_rows'; return $actions; } /** * @filter acf_quick_edit_post_id_request_param */ public function post_id_request_params( $params ) { $params[] = 'post_id'; return $params; } }