set-screen-option

set-screen-option

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('set-screen-option') is found 1 times:

  • /wp-admin/includes/misc.php line 773
    				 *                              Default false (to skip saving the current option).
    				 * @param string $option        The option name.
    				 * @param int    $value         The option value.
    				 */
    				$screen_option = apply_filters( 'set-screen-option', $screen_option, $option, $value ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores
    			}
    
    			/**
    			 * Filters a screen option value before it is set.
    			 *
    			 * The dynamic portion of the hook name, `$option`, refers to the option name.
    

See this hook used in plugins: