Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: press_this_redirect_in_parent

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
42      public function site_settings() {
43           return array(
44                /**
45                 * Filter whether or not Press This should redirect the user in the parent window upon save.
46                 *
47                 * @since 4.2.0
48                 *
49                 * @param bool false Whether to redirect in parent window or not. Default false.
50                 */
51                'redirInParent' => apply_filters( 'press_this_redirect_in_parent', false ),
52           );
53      }
54
55      /**
56       * Get the source's images and save them locally, for posterity, unless we can't.
57       *
58       * @since 4.2.0
59       * @access public
60       *