prepend_attachment хук-фильтр . WP 2.0.0
Filters the attachment markup to be prepended to the post content.
Использование
add_filter( 'prepend_attachment', 'filter_function_name_312' ); function filter_function_name_312( $p ){ // filter... return $p; }
- $p(строка)
- The attachment HTML output.
Список изменений
С версии 2.0.0 | Введена. |
Где вызывается хук
prepend_attachment
wp-includes/post-template.php 1698
$p = apply_filters( 'prepend_attachment', $p );