Ignore Cover Image Block when “First Image in Content” is set as the Image Source
add_filter( ‘aioseo_social_image_ignore_cover_block’, ‘__return_true’ );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
add_filter( ‘aioseo_social_image_ignore_cover_block’, ‘__return_true’ );Continue reading
add_filter( ‘aioseo_sitemap_lastmod_disable’, ‘__return_true’ );Continue reading
add_filter( ‘aioseo_schema_json_flags’, function() { return JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE; } );Continue reading
add_filter( ‘aioseo_post_metabox_priority’, ‘aioseo_filter_metabox_priority’ ); function aioseo_filter_metabox_priority( $priority) { return ‘low’; }Continue reading
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; }Continue reading
add_filter( ‘aioseo_access_control_excluded_roles’, ‘aioseo_filter_access_control_excluded_roles’ ); function aioseo_filter_access_control_excluded_roles( $roles ) { if ( ( $key = array_search( ‘customer’, $roles ) ) !== false ) { unset( $roles[ $key ] ); } return $roles; }Continue reading
function mepr_extend_grace_period() { return 7; } add_filter( ‘mepr-grace-init-days’, ‘mepr_extend_grace_period’ );Continue reading
function mepr_remove_pause_link( $output, $sub ) { if ( ’48’ == $sub->product_id ) { return; } return $output; } add_filter( ‘mepr_custom_pause_link’, ‘mepr_remove_pause_link’, 10, 2 );Continue reading
function mepr_account_links_shortcode() { $mepr_options = MeprOptions::fetch(); $account_url = $mepr_options->account_page_url(); $links = ‘ ‘; $links .= ‘ Home ‘; $links .= ‘ Subscriptions ‘; $links .= ‘ Payments ‘; $links .= ‘ Courses ‘; $links .= ‘ Logout ‘; $links .=…Continue reading