Add a custom alt text for Instagram Feed images
function sbi_img_alt( $img_alt, $post ) { $alt_text = __( ‘Instagram Image’, ‘instagram-feed’ ); return $alt_text; } add_filter( ‘sbi_img_alt’, ‘sbi_img_alt’, 10, 2 );Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
function sbi_img_alt( $img_alt, $post ) { $alt_text = __( ‘Instagram Image’, ‘instagram-feed’ ); return $alt_text; } add_filter( ‘sbi_img_alt’, ‘sbi_img_alt’, 10, 2 );Continue reading
add_action( ‘admin_init’, function() { if ( isset( $_GET[‘export_members_extended’] ) ) { $all = MeprUser::list_table( /* $order_by */ ‘user_login’, /* $order */ ‘ASC’, /* $paged */ ”, /* $search */ ”, /* $search_field */ ‘any’, /* $perpage */ ”, /* $params…Continue reading
add_filter( ‘aioseo_classic_editor_disable_emoji_script’, ‘__return_true’ );Continue reading
https://www.facebook.com/profile.php?id=61561561635100Continue reading
function mepr_custom_pdf_invoice_fonts( $fonts ) { return array( ‘roboto’ => array( ‘R’ => ‘Roboto-Regular.ttf’, ‘B’ => ‘Roboto-Bold.ttf’, ‘I’ => ‘Roboto-Italic.ttf’, ‘BI’ => ‘Roboto-Bold.ttf’, //’useOTL’ => 0xFF, ‘useKashida’ => 75, ), ); } add_filter( ‘mepr-pdf-invoice-fonts’, ‘mepr_custom_pdf_invoice_fonts’ ); function mepr_custom_options_dynamic_attrs( $attrs ) {…Continue reading
add_filter( “aioseo_save_term”, “aioseo_filter_term_data” ); function aioseo_filter_term_data( $term ) { if ( 12 === (int) $term->term_id ) { $term->title = ‘Some new title here’; } return $term; }Continue reading
add_filter( “aioseo_save_post”, “aioseo_filter_post_data” ); function aioseo_filter_post_data( $post ) { if ( 10 === (int) $post->post_id ) { $post->title = ‘Some new title here’; } return $post; }Continue reading