/home/techb158/public_html/wp-admin/includes
NameSizeModeActions
admin-filters.php80340666editdlrm
admin.php36280666editdlrm
ajax-actions.php1535400666editdlrm
bookmark.php116780666editdlrm
class-automatic-upgrader-skin.php36630666editdlrm
class-bulk-plugin-upgrader-skin.php25900666editdlrm
class-bulk-theme-upgrader-skin.php26600666editdlrm
class-bulk-upgrader-skin.php66610666editdlrm
class-core-upgrader.php151980666editdlrm
class-custom-background.php217500666editdlrm
class-custom-image-header.php492490666editdlrm
class-file-upload-upgrader.php41630666editdlrm
class-ftp-pure.php54260666editdlrm
class-ftp-sockets.php84790666editdlrm
class-ftp.php273420666editdlrm
class-language-pack-upgrader-skin.php28700666editdlrm
class-language-pack-upgrader.php155280666editdlrm
class-pclzip.php1966670666editdlrm
class-plugin-installer-skin.php119470666editdlrm
class-plugin-upgrader-skin.php32780666editdlrm
class-plugin-upgrader.php232490666editdlrm
class-theme-installer-skin.php129740666editdlrm
class-theme-upgrader-skin.php41760666editdlrm
class-theme-upgrader.php267830666editdlrm
class-walker-category-checklist.php50920666editdlrm
class-walker-nav-menu-checklist.php57810666editdlrm
class-walker-nav-menu-edit.php142980666editdlrm
class-wp-ajax-upgrader-skin.php41930666editdlrm
class-wp-application-passwords-list-table.php69490666editdlrm
class-wp-automatic-updater.php619050666editdlrm
class-wp-comments-list-table.php346200666editdlrm
class-wp-community-events.php186470666editdlrm
class-wp-debug-data.php710430666editdlrm
class-wp-filesystem-base.php256220666editdlrm
class-wp-filesystem-direct.php191660666editdlrm
class-wp-filesystem-ftpext.php249260666editdlrm
class-wp-filesystem-ftpsockets.php203560666editdlrm
class-wp-filesystem-ssh2.php258150666editdlrm
class-wp-importer.php82790666editdlrm
class-wp-internal-pointers.php45930666editdlrm
class-wp-links-list-table.php101030666editdlrm
class-wp-list-table-compat.php14970666editdlrm
class-wp-list-table.php548730666editdlrm
class-wp-media-list-table.php277860666editdlrm
class-wp-ms-sites-list-table.php235980666editdlrm
class-wp-ms-themes-list-table.php302660666editdlrm
class-wp-ms-users-list-table.php161880666editdlrm
class-wp-plugin-install-list-table.php250760666editdlrm
class-wp-plugins-list-table.php615490666editdlrm
class-wp-post-comments-list-table.php14530666editdlrm
class-wp-posts-list-table.php684570666editdlrm
class-wp-privacy-data-export-requests-list-table.php60260666editdlrm
class-wp-privacy-data-removal-requests-list-table.php61780666editdlrm
class-wp-privacy-policy-content.php330210666editdlrm
class-wp-privacy-requests-table.php148060666editdlrm
class-wp-screen.php375660666editdlrm
class-wp-site-health-auto-updates.php143370666editdlrm
class-wp-site-health.php1311680666editdlrm
class-wp-site-icon.php64890666editdlrm
class-wp-terms-list-table.php215840666editdlrm
class-wp-theme-install-list-table.php157030666editdlrm
class-wp-themes-list-table.php103390666editdlrm
class-wp-upgrader-skin.php70640666editdlrm
class-wp-upgrader-skins.php14770666editdlrm
class-wp-upgrader.php483670666editdlrm
class-wp-users-list-table.php193510666editdlrm
comment.php94570666editdlrm
continents-cities.php205400666editdlrm
credits.php58320666editdlrm
dashboard.php706160666editdlrm
deprecated.php419600666editdlrm
edit-tag-messages.php14780666editdlrm
export.php259760666editdlrm
file.php984240666editdlrm
image-edit.php441470666editdlrm
image.php451720666editdlrm
import.php66170666editdlrm
list-table.php38020666editdlrm
media.php1201880666editdlrm
menu.php96400666editdlrm
meta-boxes.php668570666editdlrm
misc.php464430666editdlrm
ms-admin-filters.php12960666editdlrm
ms-deprecated.php37700666editdlrm
ms.php359590666editdlrm
nav-menu.php491360666editdlrm
network.php270380666editdlrm
noop.php11480666editdlrm
options.php43030666editdlrm
plugin-install.php391870666editdlrm
plugin.php932950666editdlrm
post.php822290666editdlrm
privacy-tools.php337320666editdlrm
revision.php166290666editdlrm
schema.php455830666editdlrm
screen.php63900666editdlrm
taxonomy.php84830666editdlrm
template.php998300666editdlrm
theme-install.php70100666editdlrm
theme.php475330666editdlrm
translation-install.php110480666editdlrm
update-core.php861420666editdlrm
update.php348290666editdlrm
upgrade.php1166740666editdlrm
user.php239130666editdlrm
widgets.php105460666editdlrm
Edit: /home/techb158/public_html/wp-admin/includes/screen.php (6390B)
id ] ) ) { /** * Filters the column headers for a list table on a specific screen. * * The dynamic portion of the hook name, `$screen->id`, refers to the * ID of a specific screen. For example, the screen ID for the Posts * list table is edit-post, so the filter for that screen would be * manage_edit-post_columns. * * @since 3.0.0 * * @param string[] $columns The column header labels keyed by column ID. */ $column_headers[ $screen->id ] = apply_filters( "manage_{$screen->id}_columns", array() ); } return $column_headers[ $screen->id ]; } /** * Get a list of hidden columns. * * @since 2.7.0 * * @param string|WP_Screen $screen The screen you want the hidden columns for * @return string[] Array of IDs of hidden columns. */ function get_hidden_columns( $screen ) { if ( is_string( $screen ) ) { $screen = convert_to_screen( $screen ); } $hidden = get_user_option( 'manage' . $screen->id . 'columnshidden' ); $use_defaults = ! is_array( $hidden ); if ( $use_defaults ) { $hidden = array(); /** * Filters the default list of hidden columns. * * @since 4.4.0 * * @param string[] $hidden Array of IDs of columns hidden by default. * @param WP_Screen $screen WP_Screen object of the current screen. */ $hidden = apply_filters( 'default_hidden_columns', $hidden, $screen ); } /** * Filters the list of hidden columns. * * @since 4.4.0 * @since 4.4.1 Added the `use_defaults` parameter. * * @param string[] $hidden Array of IDs of hidden columns. * @param WP_Screen $screen WP_Screen object of the current screen. * @param bool $use_defaults Whether to show the default columns. */ return apply_filters( 'hidden_columns', $hidden, $screen, $use_defaults ); } /** * Prints the meta box preferences for screen meta. * * @since 2.7.0 * * @global array $wp_meta_boxes Global meta box state. * * @param WP_Screen $screen */ function meta_box_prefs( $screen ) { global $wp_meta_boxes; if ( is_string( $screen ) ) { $screen = convert_to_screen( $screen ); } if ( empty( $wp_meta_boxes[ $screen->id ] ) ) { return; } $hidden = get_hidden_meta_boxes( $screen ); foreach ( array_keys( $wp_meta_boxes[ $screen->id ] ) as $context ) { foreach ( array( 'high', 'core', 'default', 'low' ) as $priority ) { if ( ! isset( $wp_meta_boxes[ $screen->id ][ $context ][ $priority ] ) ) { continue; } foreach ( $wp_meta_boxes[ $screen->id ][ $context ][ $priority ] as $box ) { if ( false === $box || ! $box['title'] ) { continue; } // Submit box cannot be hidden. if ( 'submitdiv' === $box['id'] || 'linksubmitdiv' === $box['id'] ) { continue; } $widget_title = $box['title']; if ( is_array( $box['args'] ) && isset( $box['args']['__widget_basename'] ) ) { $widget_title = $box['args']['__widget_basename']; } $is_hidden = in_array( $box['id'], $hidden, true ); printf( '', esc_attr( $box['id'] ), checked( $is_hidden, false, false ), $widget_title ); } } } } /** * Gets an array of IDs of hidden meta boxes. * * @since 2.7.0 * * @param string|WP_Screen $screen Screen identifier * @return string[] IDs of hidden meta boxes. */ function get_hidden_meta_boxes( $screen ) { if ( is_string( $screen ) ) { $screen = convert_to_screen( $screen ); } $hidden = get_user_option( "metaboxhidden_{$screen->id}" ); $use_defaults = ! is_array( $hidden ); // Hide slug boxes by default. if ( $use_defaults ) { $hidden = array(); if ( 'post' === $screen->base ) { if ( in_array( $screen->post_type, array( 'post', 'page', 'attachment' ), true ) ) { $hidden = array( 'slugdiv', 'trackbacksdiv', 'postcustom', 'postexcerpt', 'commentstatusdiv', 'commentsdiv', 'authordiv', 'revisionsdiv' ); } else { $hidden = array( 'slugdiv' ); } } /** * Filters the default list of hidden meta boxes. * * @since 3.1.0 * * @param string[] $hidden An array of IDs of meta boxes hidden by default. * @param WP_Screen $screen WP_Screen object of the current screen. */ $hidden = apply_filters( 'default_hidden_meta_boxes', $hidden, $screen ); } /** * Filters the list of hidden meta boxes. * * @since 3.3.0 * * @param string[] $hidden An array of IDs of hidden meta boxes. * @param WP_Screen $screen WP_Screen object of the current screen. * @param bool $use_defaults Whether to show the default meta boxes. * Default true. */ return apply_filters( 'hidden_meta_boxes', $hidden, $screen, $use_defaults ); } /** * Register and configure an admin screen option * * @since 3.1.0 * * @param string $option An option name. * @param mixed $args Option-dependent arguments. */ function add_screen_option( $option, $args = array() ) { $current_screen = get_current_screen(); if ( ! $current_screen ) { return; } $current_screen->add_option( $option, $args ); } /** * Get the current screen object * * @since 3.1.0 * * @global WP_Screen $current_screen WordPress current screen object. * * @return WP_Screen|null Current screen object or null when screen not defined. */ function get_current_screen() { global $current_screen; if ( ! $current_screen instanceof WP_Screen ) { return null; } return $current_screen; } /** * Set the current screen object * * @since 3.0.0 * * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen, * or an existing screen object. */ function set_current_screen( $hook_name = '' ) { WP_Screen::get( $hook_name )->set_current_screen(); }