c slugs.' ), 'type' => 'array', 'items' => array( 'type' => 'string', ), ); /** * Filters collection parameters for the terms controller. * * The dynamic part of the filter `$this->taxonomy` refers to the taxonomy * slug for the controller. * * This filter registers the collection parameter, but does not map the * collection parameter to an internal WP_Term_Query parameter. Use the * `rest_{$this->taxonomy}_query` filter to set WP_Term_Query parameters. * * @since 4.7.0 * * @param array $query_params JSON Schema-formatted collection parameters. * @param WP_Taxonomy $taxonomy Taxonomy object. */ return apply_filters( "rest_{$this->taxonomy}_collection_params", $query_params, $taxonomy ); } /** * Checks that the taxonomy is valid. * * @since 4.7.0 * * @param string $taxonomy Taxonomy to check. * @return bool Whether the taxonomy is allowed for REST management. */ protected function check_is_taxonomy_allowed( $taxonomy ) { $taxonomy_obj = get_taxonomy( $taxonomy ); if ( $taxonomy_obj && ! empty( $taxonomy_obj->show_in_rest ) ) { return true; } return false; } }
Fatal error: Uncaught Error: Class 'WP_REST_Terms_Controller' not found in /home/islamicf/public_html/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php:17 Stack trace: #0 /home/islamicf/public_html/wp-settings.php(295): require() #1 /home/islamicf/public_html/wp-config.php(99): require_once('/home/islamicf/...') #2 /home/islamicf/public_html/wp-load.php(50): require_once('/home/islamicf/...') #3 /home/islamicf/public_html/wp-blog-header.php(13): require_once('/home/islamicf/...') #4 /home/islamicf/public_html/index.php(17): require('/home/islamicf/...') #5 {main} thrown in /home/islamicf/public_html/wp-includes/rest-api/endpoints/class-wp-rest-menus-controller.php on line 17

Fatal error: Uncaught Error: Call to a member function set() on null in /home/islamicf/public_html/wp-includes/l10n.php:850 Stack trace: #0 /home/islamicf/public_html/wp-includes/l10n.php(953): load_textdomain('default', '/home/islamicf/...', 'ar') #1 /home/islamicf/public_html/wp-includes/class-wp-fatal-error-handler.php(49): load_default_textdomain() #2 [internal function]: WP_Fatal_Error_Handler->handle() #3 {main} thrown in /home/islamicf/public_html/wp-includes/l10n.php on line 850