aioseo_social_twitter_additional_data

aioseo_social_twitter_additional_data

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

See hook in core

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

apply_filters('aioseo_social_twitter_additional_data') is found 1 times:

  • /app/Common/Social/Output.php line 130
    			$meta['twitter:image'] = $image;
    		}
    
    		if ( is_singular() ) {
    			$additionalData = apply_filters( 'aioseo_social_twitter_additional_data', aioseo()->social->twitter->getAdditionalData() );
    			if ( $additionalData ) {
    				$i = 1;
    				foreach ( $additionalData as $data ) {
    					$meta[ "twitter:label$i" ] = $data['label'];
    					$meta[ "twitter:data$i" ]  = $data['value'];
    					$i++;