wphooks.info - list_pages

list_pages

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/class-walker-page-dropdown.php:
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
		}

		/**
		 * Filters the page title when creating an HTML drop-down list of pages.
		 *
		 * @since 3.1.0
		 *
		 * @param string $title Page title.
		 * @param object $page  Page data object.
		 */
		$title = apply_filters( 'list_pages', $title, $page );

		$output .= $pad . esc_html( $title );
		$output .= "</option>\n";
	}
}