/** * Lock user out after 5 minutes of inactivity by Amiru ウェブサイトが一定期間アイドル状態の場合にユーザーをロックする. */ add_action( ‘init’, ‘lock_user_after_inactivity’ ); function lock_user_after_inactivity() { // Check if the user is logged in if ( is_user_logged_in() ) { // Get the current user ID…Continue reading
function remove_lost_password_link() { return ”; } add_filter( ‘gettext’, ‘remove_lost_password_link’, 10, 3 );Continue reading
add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading
add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading
add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading
add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading
add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading
add_action(‘wpforms_loaded’, function() { // 1. Register your custom smart tags (this happens site-wide). add_filter(‘wpforms_smart_tags’, function($tags) { $tags[‘equipment_type_list’] = ‘Equipment Type List’; $tags[‘ownership_type_list’] = ‘Ownership Type List’; $tags[‘serial_number_list’] = ‘Serial Number List’; $tags[‘brand_model_list’] = ‘Brand/Model List’; return $tags; }); // 2.…Continue reading
add_action(‘charitable_campaign_content_loop_after’, ‘charitable_add_campaign_status_in_campaigns_shortcode’); function charitable_add_campaign_status_in_campaigns_shortcode( $campaign = false, $view_args = array() ) { if ( ! empty( $campaign->get_status() ) ) { echo ‘ ‘ . $campaign->get_status() . ‘ ‘; } }Continue reading