芝麻web文件管理V1.00
编辑当前文件:/home/mybf1/www/sabun.bf1.my/wp-content/plugins/all-in-one-seo-pack/app/Common/Social/Helpers.php
helpers->internationalize( $category->cat_name ); } } return $names; } /** * Returns all tags for a post. * * @since 4.0.0 * * @param int $postId The post ID. * @return array $names The tag names. */ public function getAllTags( $postId = 0 ) { $names = []; $tags = get_the_tags( $postId ); if ( ! empty( $tags ) && ! is_wp_error( $tags ) ) { foreach ( $tags as $tag ) { if ( ! empty( $tag->name ) ) { $names[] = aioseo()->helpers->internationalize( $tag->name ); } } } // Ultimate Tag Warrior integration. global $utw; if ( is_object( $utw ) ) { $tags = $utw->GetTagsForPost( $postId ); if ( ! empty( $tags ) && ! is_wp_error( $tags ) ) { foreach ( $tags as $tag ) { if ( ! empty( $tag->tag ) ) { $names[] = stripslashes( preg_replace( '#(-|_)#', $tag->tag ) ); } } } } return $names; } }