aioseo_facebook_access_token

aioseo_facebook_access_token

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

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

apply_filters('aioseo_facebook_access_token') is found 2 times:

  • /app/Common/Social/Social.php line 160
    	 * @return void
    	 */
    	public function bustOgCachePost( $postId ) {
    		$post              = get_post( $postId );
    		$customAccessToken = apply_filters( 'aioseo_facebook_access_token', '' );
    
    		if (
    			! aioseo()->helpers->isValidPost( $post ) ||
    			( ! aioseo()->helpers->isSbCustomFacebookFeedActive() && ! $customAccessToken )
    		) {
    			return;
    
  • /app/Common/Social/Social.php line 183
    	 * @return void
    	 */
    	protected function bustOgCacheHelper( $permalink ) {
    		$accessToken = aioseo()->helpers->getSbAccessToken();
    		$accessToken = apply_filters( 'aioseo_facebook_access_token', $accessToken );
    		if ( ! $accessToken ) {
    			return;
    		}
    
    		$url = sprintf(
    			'https://graph.facebook.com/?%s',