Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
コンテンツから移動しないスクリプトファイル条件を追記する
//本文中から移動しないスクリプトコード条件を追記する
add_filter('cocoon_exclude_script_movement_from_content', function($is_exclude, $script){
return $is_exclude || includes_string($script, 'tradingview_embed_options');
}, 10, 2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.