Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Inventory_Presser_Plugin::get_last_word( string $str )

Given a string, return the last word.


Parameters Parameters

$str

(string) (Required) The string from which to extract the last word.


Top ↑

Return Return

(string) The last word of the input string


Top ↑

Source Source

File: inventory-presser.php

						$new_query_string .= '&' . $wp_rewrite->preg_index( $n * 2 - 1 ) . '[]=' . $wp_rewrite->preg_index( $n * 2 );
					}

					// Allow paging of filtered post type - WordPress expects 'page' in the URL but uses 'paged' in the query string so paging doesn't fit into our regex.