To disable the xAPI Video end screen buttons, you need to add the following code to your theme’s functions.php file, or you can use a plugin that allows adding php code snippets.
add_filter( "grassblade_video_config", function($config, $content_data) { if(!isset($config["video_endscreen"])) $config["video_endscreen"] = 0; return $config; }, 10, 3);
Heads Up!
We recommend using a child theme to make this change. It will get erased on theme updates if used in your main theme files.
We recommend using a child theme to make this change. It will get erased on theme updates if used in your main theme files.
If you’re facing any issues while using this code, feel free to contact us.