Description
Unhide the selected post from robots using WordPress SEO
Usage
oik_batchmove_perform_wpseounhide( $id );Parameters
- $id
- ( integer ) required – ID of the post to be updated
Returns
voidSource
File name: oik-batchmove/admin/oik-batchmove.phpLines:
1 to 5 of 5
function oik_batchmove_perform_wpseounhide( $id ) { update_post_meta( $id, "_yoast_wpseo_meta-robots-noindex", 2 ); update_post_meta( $id, "_yoast_wpseo_meta-robots-nofollow", 0 ); update_post_meta( $id, "_yoast_wpseo_sitemap-include", "always" ); }View on GitHub View on Trac
