the input form is displayed, but the data entered in the form is not saved: Revision

Last updated by Yevgeniy

Hello Developers! I want to update the plugin, the input form is displayed, but the data entered in the form is not saved, this code worked in version 2.3 of the save.php file, what has changed in elgg 3.0?

i didn't use elgg-plugin.php

 

   $url = get_input('url');  

$blog_guid = get_input('guid');

$blog = get_entity($blog_guid);

 

if ($blog) {

                $blog->videocover = $url;

}