apply_filters( ‘invp_prefix_meta_key’ )
Source #Source
Related #Related
Used By #Used By
Used By | Description |
---|---|
: Inventory_Presser_Range_Filters::modify_query_for_price_and_odometer_ranges () |
Modifies the queries with the vehicle post type to include price and odometer ranges, if they’re also provided. |
includes/class-taxonomies.php: Inventory_Presser_Taxonomies::meta_box_html () |
Outputs HTML that renders a meta box in the Classic Editor for all our taxonomies. |
includes/shortcode/class-shortcode-inventory-slider.php: Inventory_Presser_Shortcode_Slider::add_make_and_model_query_args () | |
includes/integrations/class-wp-all-import.php: Inventory_Presser_WP_All_Import::detect_delimited_options () |
If the value being saved to the meta key inventory_presser_options_array contains pipe-delimited or comma-delimited values, split the string and add each option individually. |
includes/integrations/class-forms-integration.php: Inventory_Presser_Forms_Integration::extract_post_id_from_value () |
Given a submitted form value like “2020 Toyota Sienna LE, 10329A”, find and return the vehicle’s post ID. |
inventory-presser.php: Inventory_Presser_Plugin::save_vehicle_taxonomy_terms () |
Saves custom taxonomy terms when vehicles are saved |
inventory-presser.php: Inventory_Presser_Plugin::save_vehicle_post_meta () |
Saves vehicle attributes into their corresponding post meta fields when the Save or Update button is clicked in the editor. |
includes/admin/class-admin-posts-list.php: Inventory_Presser_Admin_Posts_List::vehicles_table_columns_orderbys () |
Change the dashboard post query to sort based on a custom column we added. |
includes/admin/class-admin-posts-list.php: Inventory_Presser_Admin_Posts_List::populate_columns_we_added_to_vehicles_table () |
Populates the custom columns we added to the posts table in the dashboard. |
includes/admin/class-admin-posts-list.php: Inventory_Presser_Admin_Posts_List::make_vehicles_table_columns_sortable () |
Declares which of our custom columns on the list of posts are sortable. |
includes/admin/class-admin-posts-list.php: Inventory_Presser_Admin_Posts_List::enable_order_by_attachment_count () |
Handles the ORDER BY on the vehicle list (edit.php) when sorting by photo count. |
includes/admin/class-admin-posts-list.php: Inventory_Presser_Admin_Posts_List::add_columns_to_vehicles_table () |
Adds slugs to the post table columns array so the dashboard list of vehicles is more informative than the vanilla list for posts. |
includes/class-rest.php: Inventory_Presser_REST::orderby_photo_number () |
Changes the query args for requests to order attachments by the photo_number meta key. |
includes/class-rest.php: Inventory_Presser_REST::allow_orderby_photo_number () |
Adds the photo_number meta field to the allowed orderby values. |
includes/class-invp.php: INVP::load_sample_vehicles () |
Populates the site with vehicles. |
includes/template-tags.php: invp_get_the_photos () |
Fill arrays of thumb and large |
includes/integrations/class-contact-form-7.php: Inventory_Presser_Contact_Form_7::handler_vehicle () |
handler_vehicle |
includes/admin/class-admin-photo-arranger.php: Inventory_Presser_Admin_Photo_Arranger::maintain_gallery_during_attach_and_detach () |
maintain_gallery_during_attach_and_detach |
includes/shortcode/class-shortcode-sort-by.php: Inventory_Presser_Shortcode_Sort_By::change_sorter_based_on_price_display () |
change_sorter_based_on_price_display |
includes/shortcode/class-shortcode-sort-by.php: Inventory_Presser_Shortcode_Sort_By::change_price_field_when_sorting () |
If a user wants to order vehicles by price, and the site is showing MSRP instead of price, sort by that. |
includes/widget/class-widget-order-by.php: Inventory_Presser_Order_By_Widget::update () |
Saves the widget settings when a dashboard user clicks the Save button. |
includes/widget/class-widget-order-by.php: Inventory_Presser_Order_By_Widget::get_post_meta_keys_and_labels () |
Produces an associative array where the post meta keys are the keys and the values are human-readable labels. |
includes/class-photo-numberer.php: Inventory_Presser_Photo_Numberer::save_meta_vin () |
Saves the vehicle VIN in attachment meta when an attachment is uploaded to a vehicle post. |
includes/class-photo-numberer.php: Inventory_Presser_Photo_Numberer::save_meta_photo_number () |
Saves a sequence number like 1, 2, or 99 in attachment post meta. This number dictates the order in which the photos will be disabled in sliders and galleries. |
includes/class-photo-numberer.php: Inventory_Presser_Photo_Numberer::save_meta_hash () |
Saves an MD5 hash checksum of the attachment file bytes in the attachment post meta. This 32 character string can be used for file comparisons while not taxing the server as much as other methods. |
includes/class-photo-numberer.php: Inventory_Presser_Photo_Numberer::renumber_photos () |
Reassigns sequence numbers to all photos attached to a vehicle post. |
includes/class-taxonomy-overlapper.php: Inventory_Presser_Taxonomy_Overlapper::check_for_remaining_term_relationship () |
A meta value was just deleted after a term relationship was deleted. |
includes/class-taxonomy-overlapper.php: Inventory_Presser_Taxonomy_Overlapper::delete_transmission_speeds_meta () |
When a relationship in the Transmissions taxonomy is deleted, delete a post meta value that holds the transmission speeds, too. |
includes/class-taxonomy-overlapper.php: Inventory_Presser_Taxonomy_Overlapper::update_transmission_speeds_meta () |
When a relationship in the Transmissions taxonomy is changed, update a post meta value that holds the transmission speeds, too. |
includes/class-invp.php: INVP::delete_attachment_orphans () |
Deletes media that is managed by this plugin but not attached to a post. |
includes/shortcode/class-shortcode-inventory-slider.php: Inventory_Presser_Shortcode_Slider::get_vehicle_IDs () | |
includes/shortcode/class-shortcode-archive.php: Inventory_Presser_Shortcode_Archive::content () |
Creates the HTML content of the shortcode |
includes/class-invp.php: INVP::meta_value_is_number () |
Indicates whether or not a provided $post_meta_key is a number data type. |
includes/class-invp.php: INVP::get_meta () |
Retrieves post meta values. |
inventory-presser.php: Inventory_Presser_Plugin::register_meta_fields () |
Registers all meta fields our custom post type uses to define a vehicle and its attachments. |
inventory-presser.php: Inventory_Presser_Plugin::modify_query_for_max_price () |
Modifies the $query to filter vehicles by prices for the Maximum Price Filter widget. |
inventory-presser.php: Inventory_Presser_Plugin::add_orderby_to_query () |
Filter callback that adds an ORDER BY clause to the main query when a user requests a list of vehicles. |
includes/class-vehicle-urls-by-vin.php: Vehicle_URLs_By_VIN::find_vehicle_url () |
Takes a VIN and finds its permalink. If the vehicle is not in inventory, the vehicle archive URL is returned. |
includes/class-taxonomy-overlapper.php: Inventory_Presser_Taxonomy_Overlapper::term_relationship_deleted () |
If the term relationship that was just deleted was in a vehicle taxonomy, also delete the meta value that contains the same value. |
includes/class-taxonomy-overlapper.php: Inventory_Presser_Taxonomy_Overlapper::term_relationship_updated () |
Callback when term relationships are updated. This method updates the post meta field that overlaps the taxonomy. |
includes/widget/class-widget-inventory-grid.php: Inventory_Presser_Grid::content () |
Creates HTML that renders the widget front-end. |
includes/widget/class-widget-inventory-slider.php: Inventory_Presser_Slider::widget () |
Outputs the widget front-end HTML |
includes/class-taxonomies.php: Inventory_Presser_Taxonomies::meta_box_html_type () |
Outputs HTML that renders a meta box for the type taxonomy |
includes/class-additional-listings-pages.php: Inventory_Presser_Additional_Listings_Pages::is_valid_rule () |
True or false, a given additional listing page rule has settings that allow us to create the page. User might not provide the URL path, for example. |
includes/class-additional-listings-pages.php: Inventory_Presser_Additional_Listings_Pages::get_query_meta_array () |
Turns additional listing page rules into SQL query pieces. |
includes/widget/class-widget-maximum-price-filter.php: Inventory_Presser_Maximum_Price_Filter::widget () |
Outputs the widget front-end HTML |