wwolf
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
// ACF custom variables $knowsabout = get_field( ‘author_knowsabout’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout2 = get_field( ‘author_knowsabout_2’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout3 = get_field( ‘author_knowsabout_3’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout4 = get_field( ‘author_knowsabout_4’, ‘user_’.get_the_author_meta( ‘ID’ ) ); $knowsabout5 = get_field( ‘author_knowsabout_5’,…Continue reading
/** * Deshabilitar funcionalidad de blog de forma segura * Evita redirecciones accidentales en rutas virtuales como /llms.txt, /robots.txt, sitemaps, REST API, etc. */ /** * Detecta rutas que nunca deben redirigirse aunque WordPress las interprete como home/archivo. */ function…Continue reading
add_action(‘admin_init’, function () { // Redirect any user trying to access comments page global $pagenow; if ($pagenow === ‘edit-comments.php’) { wp_safe_redirect(admin_url()); exit; } // Remove comments metabox from dashboard remove_meta_box(‘dashboard_recent_comments’, ‘dashboard’, ‘normal’); // Disable support for comments and trackbacks in…Continue reading
add_filter( ‘login_display_language_dropdown’, ‘__return_false’ );Continue reading
// La cookie de login durará 354 días. Usar en sitios en los que sólo entramos nosotros add_filter(‘auth_cookie_expiration’, function ($expires) { return 3153600000; // Logged in for 365 days });Continue reading