aioseo_conflicting_shortcodes

aioseo_conflicting_shortcodes

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_conflicting_shortcodes') is found 1 times:

  • /app/Common/Traits/Helpers/Shortcodes.php line 114
    	 */
    	private function doShortcodesHelper( $content, $tagsToRemove = [], $postId = 0 ) {
    		global $shortcode_tags;
    		$conflictingShortcodes = array_merge( $tagsToRemove, $this->conflictingShortcodes );
    		$conflictingShortcodes = apply_filters( 'aioseo_conflicting_shortcodes', $conflictingShortcodes );
    
    		$tagsToRemove = [];
    		foreach ( $conflictingShortcodes as $shortcode ) {
    			$shortcodeTag = str_replace( [ '[', ']' ], '', $shortcode );
    			if ( array_key_exists( $shortcodeTag, $shortcode_tags ) ) {
    				$tagsToRemove[ $shortcodeTag ] = $shortcode_tags[ $shortcodeTag ];