aioseo_conflicting_shortcodes

Purpose

This filter can be used to filter the list of conflicting shortcodes that AIOSEO does not parse.

Arguments (1)

  1. $conflictingShortcodes (array) – The list of conflicting shortcodes.

Example code snippet

The code snippet below is just an example of how this filter can be used. In the example below, more shortcodes are added to the list of conflicting shortcodes.

add_filter( 'aioseo_conflicting_shortcodes', 'aioseo_filter_conflicting_shortcodes' );

function aioseo_filter_conflicting_shortcodes( $conflictingShortcodes ) {
   $conflictingShortcodes = array_merge( $conflictingShortcodes, [
		'WISDM Group Registration' => '[wdm_group_users]',
		'WISDM Quiz Reporting'     => '[wdm_quiz_statistics_details]',
		'WISDM Course Review'      => '[rrf_course_review]'
   ] );
   return $conflictingShortcodes;
}