OceanWP Hooks Search

Below is a searchableofficial site list of OceanWP Theme hooks.  We built this list using the OceanWP hooks found on the but added search functionality to make it easier to find what you are looking for.  

Comment Date Format

To change the date format output on single blog post comments, you can use the ocean_comment_date_format filter hook.

Get Post Date Format

To change the published date format output on single blog post header styles meta (all styles except for the Default style), you can use the ocean_get_post_date_format filter hook.

Get Post Modified Date Format

To change the modified date format output on single blog post header styles meta (all styles except for the Default style), you can use the ocean_get_post_modified_date_format filter hook.

add_filter( 'ocean_get_post_modified_date_format', 'my_get_post_modified_date_format' );
function my_get_post_modified_date_format() {

    $output = 'Y/m/d';

    return $output;
}

Adjust the $output value accordingly.

WP Footer

The wp_footer hook is used to add things like scripts before the tag.

WP Head

The wp_head hook is used to add things like stylesheets into the tag.

Before Navigation

The ocean_before_nav hook appears before the #site-navigation-wrap element.

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.