aioseo_sitemap_post

aioseo_sitemap_post

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.7

apply_filters('aioseo_sitemap_post') is found 4 times:

  • /app/Common/Sitemap/Content.php line 251
    				$entry['changefreq'] = aioseo()->sitemap->priority->frequency( 'homePage' );
    				$entry['priority']   = aioseo()->sitemap->priority->priority( 'homePage' );
    			}
    
    			$entries[] = apply_filters( 'aioseo_sitemap_post', $entry, $post->ID, $postType, 'post' );
    		}
    
    		// We can't remove the post type here because other plugins rely on it.
    		return apply_filters( 'aioseo_sitemap_posts', $entries, $postType );
    	}
    
    
  • /app/Common/Sitemap/Content.php line 703
    				'changefreq' => aioseo()->sitemap->priority->frequency( 'postTypes', false, $postType ),
    				'priority'   => aioseo()->sitemap->priority->priority( 'postTypes', false, $postType ),
    			];
    
    			$entries[] = apply_filters( 'aioseo_sitemap_post', $entry, $item->id, $postType );
    		}
    
    		$archiveUrl = BuddyPressIntegration::getComponentArchiveUrl( 'activity' );
    		if (
    			aioseo()->helpers->isUrl( $archiveUrl ) &&
    			! in_array( $postType, aioseo()->helpers->getNoindexedObjects( 'archives' ), true )
    
  • /app/Common/Sitemap/Content.php line 760
    				'changefreq' => aioseo()->sitemap->priority->frequency( 'postTypes', false, $postType ),
    				'priority'   => aioseo()->sitemap->priority->priority( 'postTypes', false, $postType ),
    			];
    
    			$entries[] = apply_filters( 'aioseo_sitemap_post', $entry, $item->id, $postType );
    		}
    
    		$archiveUrl = BuddyPressIntegration::getComponentArchiveUrl( 'group' );
    		if (
    			aioseo()->helpers->isUrl( $archiveUrl ) &&
    			! in_array( $postType, aioseo()->helpers->getNoindexedObjects( 'archives' ), true )
    
  • /app/Common/Sitemap/Content.php line 815
    				'changefreq' => aioseo()->sitemap->priority->frequency( 'postTypes', false, $postType ),
    				'priority'   => aioseo()->sitemap->priority->priority( 'postTypes', false, $postType ),
    			];
    
    			$entries[] = apply_filters( 'aioseo_sitemap_post', $entry, $item->id, $postType );
    		}
    
    		$archiveUrl = BuddyPressIntegration::getComponentArchiveUrl( 'member' );
    		if (
    			aioseo()->helpers->isUrl( $archiveUrl ) &&
    			! in_array( $postType, aioseo()->helpers->getNoindexedObjects( 'archives' ), true )
    

See this hook used in plugins: