cboursinos
Forum Replies Created
-
I want to know how to access the redirect file or table that is being saved the data.
Best Regards
Exactly what at the end did
class YoastUpdateController extends WP_REST_Controller { public function register_routes() { register_rest_route( 'wp/v2/', '/action/', array( 'methods' => 'GET', 'callback' => [$this, 'update_yoast_meta'] )); } function update_yoast_meta($data) { $postID = $_GET['postID']; $metadesc = $_GET['metaDesc']; if ($postID && $metadesc) { $this->add_to_yoast_seo($postID, $metadesc); } } function add_to_yoast_seo($post_id, $metadesc){ $ret = false; $updated_desc = update_post_meta($post_id, '_yoast_wpseo_metadesc', $metadesc); if($updated_desc){ $ret = true; } return $ret; } } function register_yoast_update_controller() { $controller = new YoastUpdateController(); $controller->register_routes(); } add_action( 'rest_api_init', 'register_yoast_update_controller' );This is the only way that i found in order to append via API the metaDesc
Hello Suwash,
thank you for your response, but i don’t want the head, i want to send a specific meta description to the (post,page), and update it via a POST action from rest API.
Best Regards
https://www.dropbox.com/s/6kjxx4c0x58f6us/Screenshot%20from%202019-03-28%2012-50-57.png?dl=0 Please see the screenshot. It is a production site.
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] error import.min.js:1385@pavelevap downgrade the plugin and everything will work as expected
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] error import.min.js:1385How i can found the previous version?
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] error import.min.js:1385Could you please share the downgrade version?
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] error import.min.js:1385Also with chrome Version 70.0.3538.77 i got now this error https://www.dropbox.com/s/67tj88rjljkdv76/Screenshot%20from%202018-12-12%2013-27-25.png?dl=0
Forum: Plugins
In reply to: [All-in-One WP Migration and Backup] error import.min.js:1385I am using the Version 63.0.3 (64-bit) firefox browser