Black Friday: 79% off every plugin Shop the sale →

Advanced Settings

Developers can change who may review fixes and tune the detection rules with filters. See the Developers section for the full list.

Who can review fixes#

The capability afq_review_fixes is granted to administrators. To grant it to editors as well:

add_filter( 'afq_review_roles', function ( $roles ) {
	$roles[] = 'editor';
	return $roles;
} );

Applying a fix also needs permission to edit the post itself. Templates and template parts need edit_theme_options. Settings and Reports need manage_options.

The English list of link texts treated as ambiguous can be changed:

add_filter( 'afq_ambiguous_link_phrases', function ( $phrases ) {
	$phrases[] = 'details';
	return $phrases;
} );

Licensing constants#

For a staging store, AFQ_STOREENGINE_STORE_URL and AFQ_STOREENGINE_PRODUCT_ID can be defined in wp-config.php.

Was this article helpful?