2022 Feb 22 Tue
下記コードをfunction.phpに記述
//srcset内でショートコード実行 function my_wp_kses_allowed_html( $tags, $context ) { $tags['img']['srcset'] = true; return $tags; } add_filter( 'wp_kses_allowed_html', 'my_wp_kses_allowed_html', 10, 2 );
2025.07.07
2025.07.04
2025.06.24
2024.10.02
2024.08.29
0